Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 28010 invoked from network); 13 May 2005 09:30:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 May 2005 09:30:48 -0000 Received: (qmail 74139 invoked by uid 500); 13 May 2005 09:34:04 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 74101 invoked by uid 500); 13 May 2005 09:34:04 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 74058 invoked by uid 99); 13 May 2005 09:34:04 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=HTML_20_30,HTML_MESSAGE,MSGID_FROM_MTA_HEADER X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from webmail17.rediffmail.com (HELO rediffmail.com) (203.199.83.27) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 13 May 2005 02:34:03 -0700 Received: (qmail 12656 invoked by uid 510); 13 May 2005 09:31:05 -0000 Date: 13 May 2005 09:31:05 -0000 Message-ID: <20050513093105.12655.qmail@webmail17.rediffmail.com> Received: from unknown (61.11.4.4) by rediffmail.com via HTTP; 13 may 2005 09:31:02 -0000 MIME-Version: 1.0 From: "Pankaj Bhatnagar" Reply-To: "Pankaj Bhatnagar" To: tomcat-user@jakarta.apache.org Subject: problem starting jrmp service in tomcat 5.5.9 ? Content-type: multipart/alternative; boundary="Next_1115976662---0-203.199.83.27-12525" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Next_1115976662---0-203.199.83.27-12525 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi=0A=0AI am trying to upgrade from Tomcat 5.0.x to Tomcat 5.5.9. I have an= application that used to monitor Tomcat 5.0.x by connecting to the jrmp se= rvice and retreiving the MBeanServer. I used to enable the jrmp service by = adding the 2 lines :=0Amx.port=3D9999=0Amx.jrmpPort=3D1099=0Ato the jk2.pro= perties file in the /conf folder.=0A=0AThis does not work with Tomcat 5.5.9= :(=0A=0AI added these 2 lines to the jk2.properties file but found that th= ere was no change in Tomcat starting up. I realized that the jk2.properties= file was not being read by default. I then added the attribute propertiesF= ile=3D"/conf/jk2.properties" to the AJP Connector definition in the server.= xml file. Now I get the following :=0A=0AMay 13, 2004 1:16:35 PM org.apache= .jk.common.ChannelSocket init=0AINFO: JK: ajp13 listening on /0.0.0.0:8009= =0AMay 13, 2004 1:16:35 PM org.apache.jk.common.JkMX init=0AINFO: Can't ena= ble log4j mx:=0Ajava.lang.ClassNotFoundException: org.apache.log4j.jmx.Hier= archyDynamicMBean=0A at java.net.URLClassLoader$1.run(URLClassLoader= .java:199)=0A at java.security.AccessController.doPrivileged(Native = Method)=0A at java.net.URLClassLoader.findClass(URLClassLoader.java:= 187)=0A at java.lang.ClassLoader.loadClass(ClassLoader.java:289)=0A = at java.lang.ClassLoader.loadClass(ClassLoader.java:235)=0A a= t ava.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)=0A at= java.lang.Class.forName0(Native Method)=0A at java.lang.Class.forNa= me(Class.java:141)=0A at org.apache.jk.common.JkMX.registerObject(Jk= MX.java:382)=0A at org.apache.jk.common.JkMX.init(JkMX.java:341)=0A = at org.apache.jk.server.JkMain.start(JkMain.java:326)=0A at o= rg.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:200)=0A = at org.apache.catalina.connector.Connector.start(Connector.java:1001)=0A= at ......=0AMay 13, 2004 1:16:35 PM org.apache.jk.server.JkMain sta= rt=0AINFO: Jk running ID=3D0 time=3D0/79 config=3D/conf/jk2.properties=0A= =0ANow I dont understand whether the service started successfully or not ?= =0AHow can I check whether the service started or not ? I am not able to co= nnect to the service through code. Could please help me as to how I can ena= ble the jrmp service in Tomcat 5.5.9 and retreive the MBeanServer programat= ically ?=0A=0AAlso, how do I start Tomcat in debug mode & where will I get = the debug messages ?=0A=0AThanks in advance=0APankaj Bhatnagar --Next_1115976662---0-203.199.83.27-12525--