Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 89447 invoked from network); 29 Oct 2003 09:26:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Oct 2003 09:26:39 -0000 Received: (qmail 10287 invoked by uid 500); 29 Oct 2003 09:26:08 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 10018 invoked by uid 500); 29 Oct 2003 09:26:07 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 10004 invoked from network); 29 Oct 2003 09:26:06 -0000 Received: from unknown (HELO zukmail04.zreo.compaq.com) (161.114.128.28) by daedalus.apache.org with SMTP; 29 Oct 2003 09:26:06 -0000 Received: from reoexg11.emea.cpqcorp.net (reoexg11.emea.cpqcorp.net [16.25.5.9]) by zukmail04.zreo.compaq.com (Postfix) with ESMTP id D6D7A2C36 for ; Wed, 29 Oct 2003 09:26:36 +0000 (GMT) Received: from mlnexc01.emea.cpqcorp.net ([16.192.33.0]) by reoexg11.emea.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.6673); Wed, 29 Oct 2003 09:26:19 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: anyone any idea how to get the RMI JMX connector running inside Geronimo? Date: Wed, 29 Oct 2003 10:26:18 +0100 Message-ID: <5C3713B4B134BA49AFEAF154D0A1EE1C3F2DD3@mlnexc01.emea.cpqcorp.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: anyone any idea how to get the RMI JMX connector running inside Geronimo? Thread-Index: AcOd8pU0i3zA5Vj9SYKP3CVa2s4lHwACoNBw From: "Bordet, Simone" To: X-OriginalArrivalTime: 29 Oct 2003 09:26:19.0356 (UTC) FILETIME=[B5C841C0:01C39DFE] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, > I can see how to use JSR 160 from Java code... >=20 > http://mx4j.sourceforge.net/docs/bk01ch03s03.html >=20 > I wonder is there any 'pure MBean' way to install a JSR 160 server=20 > connector. e.g. an equivalent of the following for JSR 160? >=20 > name=3D"Naming:type=3Drmiregistry"> > > name=3D"Adaptor:protocol=3DJRMP"> > jrmp > This XML syntax is limited, unless you can pass objects as arguments to = JSR 160 constructors. Also, in JSR 160 you would use factories instead of constructors. I am committing today a configuration file that is able to perform this; = the format would be: service:jmx:rmi://localhos= t It should be extensible enough, but I'd love to hear comments about it. > I had a quick look at CVS HEAD of mx4j and couldn't see any=20 > obvious way=20 > of doing this. Maybe we need a little MBean wrapper around=20 > the Java API=20 > (if there's not one already)? Either the wrapper or an extended configuration file as above. The wrapper can take a string instead of a JMXServiceURL, and hardcode = the environment Map so its constructor will be=20 GeronimoRMIConnectorServer(String jmxServiceURL) which should be handy = enough. Simon