Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 21166 invoked from network); 7 Jul 2010 09:24:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 09:24:16 -0000 Received: (qmail 97970 invoked by uid 500); 7 Jul 2010 09:24:16 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 97936 invoked by uid 500); 7 Jul 2010 09:24:15 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 97924 invoked by uid 99); 7 Jul 2010 09:24:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 09:24:14 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 09:24:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o679NoZV029159 for ; Wed, 7 Jul 2010 09:23:50 GMT Message-ID: <29654652.236851278494630236.JavaMail.jira@thor> Date: Wed, 7 Jul 2010 05:23:50 -0400 (EDT) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Subject: [jira] Assigned: (KARAF-5) [karaf] admin:create should support a -r, --rmi-registry-port option to allow the RMI registry port to be configured MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KARAF-5?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 reassigned KARAF-5: ---------------------------------------- Assignee: Jean-Baptiste Onofr=C3=A9 > [karaf] admin:create should support a -r, --rmi-registry-port option to a= llow the RMI registry port to be configured=20 > -------------------------------------------------------------------------= -------------------------------------------- > > Key: KARAF-5 > URL: https://issues.apache.org/jira/browse/KARAF-5 > Project: Karaf > Issue Type: Bug > Reporter: Eoghan Glynn > Assignee: Jean-Baptiste Onofr=C3=A9 > > By default the JMX/RMI serviceURL is configured for child instances with = the same RMI registry port as the root instance. > As a result, the monitoring of the child can depend on the live-ness of t= he root instance, depending on the startup sequence. > For example if the child is created via "admin:create foo" in the root's = shell, but then started via the $KARAF_HOME/instances/foo/bin/start script,= the child shares the single RMI registry hosted by the root instance.=20 > If the root instance is then stopped, the child may no longer be monitore= d over JMX. Even if the root is restarted, the child still cannot be monito= red as there is no auto-reregistration. > Instead it should be possible to create a child instance with an instance= -specific RMI registry port so that its not dependent on an RMI registry sh= ared with another instance, e.g. "admin:create --rmi-registry-port 1199 foo= " so that rmiRegistryPort=3D1199 > is configured in $KARAF_HOME/instances/foo/etc/org.apache.felix.karaf.man= agement.cfg=20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.