Tomcat 4.1.27 context MBeans

2005-03-29 Thread Sheykhet, Rostic
Hi all,

I would like to deploy my webapp along with custom mbeans.  I have
LifeCycleListeners enabled, and I can get a hold of MBeanServer object
from my webapp's servlet code, list mbeans, etc.  I cannot call the
MBeanServer.createMBean() method because all of my mbean-related classes
are only known to the webapp's class loader.  I would like the mbean
classes to not be shared and to remain in the WAR file.  How can I pass
the webapp's class loader to the MBeanServer? I've read the mbean
descriptor howto, but found no suitable answers there.


Thanks,

Rostic

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 4.1.27 context MBeans

2005-03-29 Thread Bill Barker
I don't believe that TC 4 registers the webapp's classloader with JMX (only 
the Catalina Loader).  You'll need TC 5 for that.

Sheykhet, Rostic [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
Hi all,

I would like to deploy my webapp along with custom mbeans.  I have
LifeCycleListeners enabled, and I can get a hold of MBeanServer object
from my webapp's servlet code, list mbeans, etc.  I cannot call the
MBeanServer.createMBean() method because all of my mbean-related classes
are only known to the webapp's class loader.  I would like the mbean
classes to not be shared and to remain in the WAR file.  How can I pass
the webapp's class loader to the MBeanServer? I've read the mbean
descriptor howto, but found no suitable answers there.


Thanks,

Rostic 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]