You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/06/22 20:16:42 UTC
[jira] [Resolved] (AMQ-3896) AMQ3622Test throws
NumberFormatException on ec2/ubuntu 10.04
[ https://issues.apache.org/jira/browse/AMQ-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-3896.
-------------------------------
Resolution: Fixed
Assignee: Timothy Bish
patch applied with thanks.
> AMQ3622Test throws NumberFormatException on ec2/ubuntu 10.04
> ------------------------------------------------------------
>
> Key: AMQ-3896
> URL: https://issues.apache.org/jira/browse/AMQ-3896
> Project: ActiveMQ
> Issue Type: Bug
> Components: Test Cases
> Affects Versions: 5.6.0
> Environment: Amazon EC2 Ubuntu 10.04
> Reporter: Kevin Earls
> Assignee: Timothy Bish
> Priority: Minor
> Fix For: 5.7.0
>
> Attachments: Fix_AMQ3622_NumberFormatException.patch, Fix_AMQ3622_NumberFormatException.patch
>
>
> This test throws a NumberFormatException when run on a Ubuntu 10.04 node on Amazon EC2. The test tries to get the connectionUri port by calling Integer.parseInt(connectionUri.replace("stomp://localhost:", "")).
> However, when run on ec2 the connectionUri actually looks something like this "stomp://localhost.localdomain:38542", so the replace doesn't work as intended.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira