You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Davanum Srinivas <di...@yahoo.com> on 2003/07/16 21:00:23 UTC
[Novice] JMX / Tomcat 4.1.X
Hi folks,
1. Is there some sample code that starts and stops a tomcat webapp via JMX?
2. Where is the actual implementation? (I get lost of the maze of tomcat modules).
Thanks,
dims
=====
Davanum Srinivas - http://webservices.apache.org/~dims/
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Browse using MC4J (Re: [Novice] JMX / Tomcat 4.1.X)
Posted by Davanum Srinivas <di...@yahoo.com>.
For the record...Waz able to run MC4J (http://mc4j.sourceforge.net/) and JMX enabled stuff in
Tomcat 4.1.24.
Steps to setup MX4J (http://mx4j.sourceforge.net/) in Tomcat 4.1.24
--------------------------------------------------------------------
#1: Edit jk2.properties and add a line "mx.port=9000"
#2: Edit server.xml, enable the Connector under "Coyote/JK2 AJP 1.3 Connector on port 8009"
#3: Copy mx4j-tools.jar from your MX4J distribution and copy it to $CATALINA_HOME/server/lib
directory.
#4: Start using "catalina run" - makes it easy to look for any exceptions.
#5: go to your MC4J bin directory, start runide.exe
#6: Switch to the tab that says "MC4J for MX4J"
#7: In the tree root node, right click and click on "Connect"
#8: Enter say tomcat4.1.24 in the wizard and click on finish.
#9: Expand the tree and browse the hierarchy.
Thanks,
dims
--- Davanum Srinivas <di...@yahoo.com> wrote:
> Hi folks,
>
> 1. Is there some sample code that starts and stops a tomcat webapp via JMX?
> 2. Where is the actual implementation? (I get lost of the maze of tomcat modules).
>
> Thanks,
> dims
>
> =====
> Davanum Srinivas - http://webservices.apache.org/~dims/
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
=====
Davanum Srinivas - http://webservices.apache.org/~dims/
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org