tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adi Katz" <...@easa.aeat.com>
Subject MBeanServer problem
Date Mon, 18 Aug 2003 14:40:23 GMT
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


Mime
View raw message