Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 9155 invoked from network); 14 May 2009 08:59:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 08:59:11 -0000 Received: (qmail 22564 invoked by uid 500); 14 May 2009 08:59:10 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 22510 invoked by uid 500); 14 May 2009 08:59:10 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 22480 invoked by uid 99); 14 May 2009 08:59:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 08:59:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 08:59:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AAAE5234C055 for ; Thu, 14 May 2009 01:58:45 -0700 (PDT) Message-ID: <508367508.1242291525698.JavaMail.jira@brutus> Date: Thu, 14 May 2009 01:58:45 -0700 (PDT) From: "Shawn Jiang (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-4499) can't use PortOffset in var\config\config-substitutions.properties to start two geronimo instance at the same machine. In-Reply-To: <811098320.1231321726897.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn Jiang closed GERONIMO-4499. --------------------------------- Resolution: Fixed Fix Version/s: 2.2 Can't reproduce this with the latest build. Closing it. > can't use PortOffset in var\config\config-substitutions.properties to start two geronimo instance at the same machine. > ---------------------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-4499 > URL: https://issues.apache.org/jira/browse/GERONIMO-4499 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: ActiveMQ > Affects Versions: 2.2 > Environment: Windows XP SP 2 + IBM SDK 1.5.0 > Reporter: Shawn Jiang > Priority: Minor > Fix For: 2.2 > > > I'm trying to use PortOffset in var\config\config-substitutions.properties to start two geronimo instance at the same machine. > 1, install two geronimo server serverA, serverB. > 2, update the PortOffset in var\config\config-substitutions.properties from 0 to 10 for serverB. > 3, start serverA. > 4, start serverB. > *expected result*: Both serverA and serverB could be started without problems. > *actual result*: serverA started, but server B failed to start with a exception below in log: > ------------------------------------- > 2009-01-07 17:23:08,562 ERROR [BrokerService] Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://localhost:61616 due to: java.net.BindException: Address already in use: JVM_Bind > java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://localhost:61616 due to: java.net.BindException: Address already in use: JVM_Bind > at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27) > at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1427) > at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1886) > at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1837) > at org.apache.activemq.broker.BrokerService.start(BrokerService.java:473) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.