Kevin Earls created AMQ-3896:
--------------------------------

             Summary: 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.5.1
         Environment: Amazon EC2 Ubuntu 10.04
            Reporter: Kevin Earls
            Priority: Minor
             Fix For: 6.0.0
         Attachments: 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

        

Reply via email to