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 19:46:42 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13399474#comment-13399474 ] 

Timothy Bish commented on AMQ-3896:
-----------------------------------

@Kevin you need to re-upload the patch making sure to tick the "grant license to Apache" box on the upload dialog.  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
>            Priority: Minor
>             Fix For: 5.7.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