You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Adi Katz <ad...@easa.aeat.com> on 2003/08/18 16:40:23 UTC

MBeanServer problem

Hello,

I hope I post this in the right place.

When restating a context in tomcat 4.1.24 the ServletContext lose the
reference to the MBeanServer instance.

The ServerLifeCycleListener set an attribute named
'org.apache.catalina.MBeanServer' in the ServletContext when tomcat starts
up but once a context is reloaded... this attribute is gone and it is no
more possible to access the MBeanServer.

I took a look in the org.apache.catalina.mbeans.ServerLifeCycleListener code
and there is
a context reload event that suppose to create a new MBeanServer and set it
as an attribute in the servelcontext, but actually it does not happening.

I would appreciae any response
and hope I do not waste your time

Adi


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org