Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 016989953 for ; Fri, 22 Jun 2012 17:48:43 +0000 (UTC) Received: (qmail 83038 invoked by uid 500); 22 Jun 2012 17:48:42 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 82872 invoked by uid 500); 22 Jun 2012 17:48:42 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 82863 invoked by uid 99); 22 Jun 2012 17:48:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 17:48:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8D1AC141F4C for ; Fri, 22 Jun 2012 17:48:42 +0000 (UTC) Date: Fri, 22 Jun 2012 17:48:42 +0000 (UTC) From: "Kevin Earls (JIRA)" To: dev@activemq.apache.org Message-ID: <1892237189.44722.1340387322580.JavaMail.jiratomcat@issues-vm> In-Reply-To: <490826959.44397.1340381083148.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (AMQ-3896) AMQ3622Test throws NumberFormatException on ec2/ubuntu 10.04 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Earls updated AMQ-3896: ----------------------------- Attachment: Fix_AMQ3622_NumberFormatException.patch > 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