Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 23718 invoked from network); 27 Sep 2007 06:16:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Sep 2007 06:16:15 -0000 Received: (qmail 51924 invoked by uid 500); 27 Sep 2007 06:16:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 51880 invoked by uid 500); 27 Sep 2007 06:16:04 -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 51869 invoked by uid 99); 27 Sep 2007 06:16:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 23:16:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 06:18:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F3C047141FE for ; Wed, 26 Sep 2007 23:15:50 -0700 (PDT) Message-ID: <8691412.1190873750996.JavaMail.jira@brutus> Date: Wed, 26 Sep 2007 23:15:50 -0700 (PDT) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-3481) Offline deployer throws BIND Exception when port 1099 is in use In-Reply-To: <11141509.1190266273974.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530638 ] David Jencks commented on GERONIMO-3481: ---------------------------------------- I didn't get a chance to try it but the -for-2.0.patch looks fine to me. Have you checked that the (2) hack is really necessary with (1)? The code in Configuration looked right to me for handling transitive deps.... but I might be missing something. > Offline deployer throws BIND Exception when port 1099 is in use > --------------------------------------------------------------- > > Key: GERONIMO-3481 > URL: https://issues.apache.org/jira/browse/GERONIMO-3481 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 2.0.1, 2.0.x, 2.1 > Environment: G 2.0.1 - Running multiple instances > Reporter: Vamsavardhana Reddy > Assignee: David Jencks > Fix For: 2.0.2, 2.0.x, 2.1 > > Attachments: GERONIMO-3481-1.patch, GERONIMO-3481-2.patch, GERONIMO-3481-2a.patch, GERONIMO-3481-3.patch, GERONIMO-3481-for-2.0.patch, GERONIMO-3481-weird.patch > > > Offline deployer throws Bind Exception when port 1099 is in use. Here is a scenario steps in which the problem is experienced. > 1. Extract G-2.0.1-Tomcat distro to C:\ > 2. Create a dir "myserver" under C:\geronimo-j2ee-tomcat-2.0.1 and copy C:\geronimo-j2ee-tomcat-2.0.1\var to C:\geronimo-j2ee-tomcat-2.0.1\myserver\var (all sub-directories). > 3. Edit C:\geronimo-j2ee-tomcat-2.0.1\myserver\var\config-substitutions.properties to set PortOffset=10. > 4. Open a command window and start Geronimo. Since org.apache.geronimo.server.name is not set, this will start the default server instance. > 5. Open a second command window, set GERONIMO_OPTS=-Dorg.apache.geronimo.server.name=myserver. This will be command window to run the second server instance with name "myserver" > 6. Run deploy.bat --offline list-modules. > At step 6, I am getting a BIND Exception since port 1099 is in use (by the default server instance) and the offline deployer is attempting to start rmi naming on port 1099. Since, this deploy command is run against second server instance, I would expect that it uses the configuration properties of "myserver" in which case it should use port 1109 to start rmi-naming if at all there is a need. When port 1099 is not in use, the offline deployer works as expected by updating proper config.xml file when a configuration is deployed/undeployed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.