FW: MBeanServer problem

2003-08-20 Thread Adi Katz

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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



MBeanServer problem

2003-08-18 Thread Adi Katz
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]