geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric LE GOFF" <eleg...@free.fr>
Subject Re: How to work with MBeans?
Date Fri, 03 Oct 2003 06:34:13 GMT
Very helpful stuff  Jacek.
I  would definitely think it is worth writing a Wiki page for this
procedure.

Eric
----- Original Message ----- 
From: "Jacek Laskowski" <jacek.laskowski@hp.com>
To: <geronimo-dev@incubator.apache.org>
Sent: Friday, October 03, 2003 8:13 AM
Subject: Re: How to work with MBeans?


> Matt Kurjanowicz wrote:
>
> > That's right...uses RMI over JRMP, look at etc\jndi.properties if MC4J
> > asks about JNDI stuff.
> >
> > Look at Dain's email in reply to my question of you get CL issues.
>
> I should've been sent it earlier, at least right after Dianny Damour's
> email where he descibed the problem with CL.
>
> So to work with MBeans of Geronimo and EJTools JMX Browser do as follows:
>
> 1/ Copy MX4J libraries to <EJTools.JMX.Browser.HOME>/lib (if offline you
> should have them in Maven's repository since Geronimo requires them to
> build successfully)
>
> 2/ Build Geronimo (maven (re)build)
>
> 3/ Uncomment the following lines in
> target/geronimo-DEV/etc/boot-service.xml:
>
>      <!-- RMI adaptor to support MX4J -->
>      <mbean code="mx4j.tools.naming.NamingService"
> name="Naming:type=rmiregistry">
>      </mbean>
>      <mbean code="mx4j.adaptor.rmi.jrmp.JRMPAdaptor"
> name="Adaptor:protocol=JRMP">
>          <attribute name="JNDIName">jrmp</attribute>
>      </mbean>
>
> 4/ Modify maven.xml file so that run:main goal (<classpath> element of
> <goal name="run:main">) contains the line:
>
> <pathelement path="${run.dir}/lib/geronimo-core-rmiclassloaderspi.jar"/>
>
> 5/ Run Geronimo
>
> 6/ Run EJTools JMX Browser (run.bat or run.sh in bin directory of the
tool)
>
> 7/ In the JMX Browser, select File->New menu and choose MX4J 1.1.1
> (JRMP) in "Choose a connection profile" pop-up window.
>
> 8/ New window shows up where it's possible to tweak JMX Server
> properties. Don't change anything (but "Connection:" field where you may
> enter "Apache Geronimo").
> Press "Connect to the JMX Server"
>
> 9/ Voila, you're in!
>
> Do you think I should create a Wiki page with the procedure? Perhaps,
> "How to work with MBeans" would be a right name, shouldn't it?
>
> > -Matt
> > mkurjano at users.sourceforge.net
>
> Thanks for help.
>
> -Jacek
>
>
>



Mime
View raw message