[
https://issues.apache.org/jira/browse/AMQ-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399478#comment-13399478
]
Kevin Earls commented on AMQ-3896:
----------------------------------
Ok, added. Let me know if I need to do anything else.
> 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
> 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