Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 51668 invoked from network); 16 Jul 2003 21:06:55 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 Jul 2003 21:06:55 -0000 Received: (qmail 24950 invoked by uid 97); 16 Jul 2003 21:09:30 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 24942 invoked from network); 16 Jul 2003 21:09:30 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 16 Jul 2003 21:09:30 -0000 Received: (qmail 50838 invoked by uid 500); 16 Jul 2003 21:06:46 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 50816 invoked from network); 16 Jul 2003 21:06:45 -0000 Received: from web12803.mail.yahoo.com (216.136.174.38) by daedalus.apache.org with SMTP; 16 Jul 2003 21:06:45 -0000 Message-ID: <20030716210651.18035.qmail@web12803.mail.yahoo.com> Received: from [65.96.10.226] by web12803.mail.yahoo.com via HTTP; Wed, 16 Jul 2003 14:06:51 PDT Date: Wed, 16 Jul 2003 14:06:51 -0700 (PDT) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Browse using MC4J (Re: [Novice] JMX / Tomcat 4.1.X) To: tomcat-dev@jakarta.apache.org In-Reply-To: <20030716190023.97826.qmail@web12803.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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