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 53DA8104C4 for ; Mon, 8 Jul 2013 19:05:49 +0000 (UTC) Received: (qmail 54768 invoked by uid 500); 8 Jul 2013 19:05:49 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 54719 invoked by uid 500); 8 Jul 2013 19:05:49 -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 54497 invoked by uid 99); 8 Jul 2013 19:05:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jul 2013 19:05:48 +0000 Date: Mon, 8 Jul 2013 19:05:48 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (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:all-tabpanel ] Timothy Bish resolved AMQ-4588. ------------------------------- Resolution: Fixed Fix Version/s: 5.9.0 Patch applied with thanks. > 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 > Fix For: 5.9.0 > > Attachments: AMQ-4588.patch > > > 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