I'm trying to get retrieve my JMX registry and MBeanServer in a Java servlet:
registry = (Registry) getServletContext().getAttribute ("org.apache.catalina.Registry");
mBServer = (MBeanServer)getServletContext().getAttribute("org.apache.catalina.MBeanServer");
However, I get null for both registry and mBServer.
Is this how it's supose to be done? Are there steps before this that I should do in order for my code to work properly?
Regards, Nicolas
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
