@chuck and @martin You both helped me. Turns out that I could move all
weblogic classes in WEB-INF/lib and out of the System classloader. But
moving just weblogic.jar did not do the trick. I needed to package the
following jars from the BEA distribution into the Webapp:
weblogic.jar
wljmxclient.ja
@Chuck: Yes, I did kind of munge the bootstrap and System classloaders
together. But the problem still remains. When I remove weblogic.jar from
common/lib and my code attempts to establish a JMX connection using below:
JMXConnector connector = JMXConnectorFactory.connect(serviceURL, h);
I get the
7 -0700
> From: pankajtan...@gmail.com
> To: users@tomcat.apache.org
> Subject: Using JMX with Tomcat: classloading issues
>
>
> Hi all,
> I am writing a webapp that uses JMX to manage weblogic and websphere servers
> and hosting it on Tomcat 6.0.18. The app also uses Jython t
> From: Pankaj Tandon [mailto:pankajtan...@gmail.com]
> Subject: Using JMX with Tomcat: classloading issues
>
> Because rt.jar is (probably) used by the bootstrap classloader,
> I HAVE to include weblogic.jar in the CATALINA_HOME/common/lib
> directory.
Yes, rt.jar is handle
Hi all,
I am writing a webapp that uses JMX to manage weblogic and websphere servers
and hosting it on Tomcat 6.0.18. The app also uses Jython to manipulate
MBeans within the app servers.
Here's the issue that I'm facing:
To get a JMX connection using JMXConnectionFactory using below:
JMXConnecto