Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3896

AMQ3622Test throws NumberFormatException on ec2/ubuntu 10.04

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.6.0
    • 5.7.0
    • Test Cases
    • None
    • Amazon EC2 Ubuntu 10.04

    • Patch Available

    Description

      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.

      Attachments

        1. Fix_AMQ3622_NumberFormatException.patch
          5 kB
          Kevin Anthony Earls
        2. Fix_AMQ3622_NumberFormatException.patch
          5 kB
          Kevin Anthony Earls

        Activity

          People

            tabish Timothy A. Bish
            kearls Kevin Anthony Earls
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: