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

org.apache.activemq.util.IdGenerator calls non-configurable new ServerSocket(0);

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.8.0
    • 5.9.0
    • JMS client
    • None

    Description

      In order to have the AMQ client run on OpenShift the IdGenerator call 'new ServerSocket(0);' needs to be configurable to be avoided. OpenShift only allows binding to a specific, provided, unique loopback address and a limited set of ports. Ideally there would be a configuration option that allows the stub prefix to be set via a JVM param. The current logic doesn't break OpenShift as the PermissionDenied exception is caught and swallowed but the stack trace is ugly.

      Attachments

        1. AMQ-4588.patch
          2 kB
          Kevin Anthony Earls

        Activity

          People

            Unassigned Unassigned
            bdecoste Bill DeCoste
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: