You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bill DeCoste (JIRA)" <ji...@apache.org> on 2013/06/18 20:51:19 UTC

[jira] [Created] (AMQ-4588) org.apache.activemq.util.IdGenerator calls non-configurable new ServerSocket(0);

Bill DeCoste created AMQ-4588:
---------------------------------

             Summary: org.apache.activemq.util.IdGenerator calls non-configurable new ServerSocket(0);
                 Key: AMQ-4588
                 URL: https://issues.apache.org/jira/browse/AMQ-4588
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMS client
    Affects Versions: 5.8.0
            Reporter: Bill DeCoste
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira