RE: [Mc4j-development] Does MC4J work with Tomcat
Brought to you by:
ghinkl
From: Gregory H. <gh...@sa...> - 2003-08-18 13:13:57
|
I found a message on one of the tomcat lists a few months ago with some instructions for activating the JMX RMI connector. I tried it only briefly, but it did connect. Let me know if you have any trouble. (From Davanum Srinivas)=20 Steps to setup MX4J (http://mx4j.sourceforge.net/) in Tomcat 4.1.24=20 -------------------------------------------------------------------- 1) Edit jk2.properties and add a line "mx.port=3D9000"=20 2) Edit server.xml, enable the Connector under "Coyote/JK2 AJP 1.3 Connector on port 8009"=20 3) Copy mx4j-tools.jar from your MX4J distribution and copy it to $CATALINA_HOME/server/lib directory.=20 4) Start using "catalina run" - makes it easy to look for any exceptions.=20 5) Go to your MC4J bin directory, start runide.exe=20 6) Switch to the tab that says "MC4J for MX4J"=20 7) In the tree root node, right click and click on "Connect"=20 8) Enter say tomcat4.1.24 in the wizard and click on finish.=20 9) Expand the tree and browse the hierarchy. __ Greg Hinkle -----Original Message----- From: mk...@gm... [mailto:mk...@gm...]=20 Sent: Monday, August 18, 2003 7:34 AM To: mc4...@li... Subject: [Mc4j-development] Does MC4J work with Tomcat Hi, I searched the mail archives, but haven't seen this question already been asked. Does MC4J work with Tomcat? I believe Tomcat ist based on MX4J. So this should work, shouldn't it? Haven't been able to dig up an example though.... I haven't found any references to a JMX related port in server.xml of Tomcat. The only thing related to JMX was this: <!-- Comment these entries out to disable JMX MBeans support --> <!-- You may also configure custom components (e.g. Valves/Realms) by=20 including your own mbean-descriptor file(s), and setting the=20 "descriptors" attribute to point to a ';' seperated list of paths (in the ClassLoader sense) of files to add to the default list. e.g. descriptors=3D"/com/myfirm/mypackage/mbean-descriptor.xml" --> <Listener className=3D"org.apache.catalina.mbeans.ServerLifecycleListener" debug=3D"0"/> <Listener className=3D"org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"= debug=3D"0"/> Any ideas? Cheers, Mariano ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Mc4j-development mailing list Mc4...@li... https://lists.sourceforge.net/lists/listinfo/mc4j-development |