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 36F2210570 for ; Wed, 19 Jun 2013 15:49:22 +0000 (UTC) Received: (qmail 95042 invoked by uid 500); 19 Jun 2013 15:49:22 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 94730 invoked by uid 500); 19 Jun 2013 15:49:21 -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 94642 invoked by uid 99); 19 Jun 2013 15:49:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 15:49:21 +0000 Date: Wed, 19 Jun 2013 15:49:21 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-4588) org.apache.activemq.util.IdGenerator calls non-configurable new ServerSocket(0); 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-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13688084#comment-13688084 ] Timothy Bish commented on AMQ-4588: ----------------------------------- We welcome patches so if you have some idea of what would be the best solution then patch away. > 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