Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 74538 invoked from network); 21 Jan 2004 15:37:05 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Jan 2004 15:37:05 -0000 Received: (qmail 12845 invoked by uid 500); 21 Jan 2004 15:36:55 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 12615 invoked by uid 500); 21 Jan 2004 15:36:53 -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 12601 invoked from network); 21 Jan 2004 15:36:53 -0000 Received: from unknown (HELO guildo.signal7.de) (62.138.167.130) by daedalus.apache.org with SMTP; 21 Jan 2004 15:36:53 -0000 Received: (qmail 18174 invoked by uid 1001); 21 Jan 2004 15:36:54 -0000 Received: from drafi.intranet.signal7.de (HELO signal7.de) (194.162.55.194) by 192.168.7.2 with SMTP; 21 Jan 2004 15:36:54 -0000 Message-ID: <400E9D14.3000301@signal7.de> Date: Wed, 21 Jan 2004 16:39:00 +0100 From: =?ISO-8859-1?Q?Robert_Kr=FCger?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031026 Thunderbird/0.4a X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: JMX 1.2 / JMX Remote 1.0 References: <200401210950.AA574292238@mail.burbank.co.uk> In-Reply-To: <200401210950.AA574292238@mail.burbank.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Simon, I think you're right. I observerd the same. I downloaded and built Tomcat 5 from CVS using the build.xml file provided on the website 3 days ago and the file jakarta-tomcat-5/build/common/lib/jmx.jar does not contain the JMX 1.2 classes. In my case my code broke because Monitor.addObserverdObject is not there (was added in 1.2). To make sure I checked in the class file and it is not there. Regards, Robert Simon Clare wrote: > Hi > > This is probably: > a: stupid > b: annoying > > or possibly both but i'm having a bit of a problem with JMX specs in Tomcat. Am I right in thinking that JMX 1.2.1 RI is the current version within Tomcat 5 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24413)? > > However, the reference implementation (and spec) has the method: > javax.management.MBeanServer.getClassLoaderRepository() > But the JMX implementation bundled with Tomcat (5.016) does not (and throws a noSuchMethodException when I try and use it. > > My small mind has been throw into confusion, and I am contemplating Classpath order based hacks (shudder). > > simon clare > > FULL (AND BORING) DETAILS > > I'm connecting remotely to a JMX 1.2.1 RI JMX Server using the JMX 1.0 Remote RI and querying a few MBeans. This works a treat in a stand alone "vanilla" VM. However, inside a web container (weblogic and tomcat) where there is theortically all the JMX stuff allready there (minus the remote stuff) the same code does not work, it throws a NoSuchMethodException on javax.management.MBeanServer.getClassLoaderRepository(). Which is weird as this method should be there according to the JMX 1.2.1 spec. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > -- ________________________ Robert Kr�ger Signal7 GmbH Br�der Knauss Str. 79 64285 Darmstadt Germany --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org