Re: MBean error when using o.a.c.session.PersistentManager

2002-10-18 Thread Amy Roh
JK,

The mbean error is due to the fact that mbean for PersistentManager is 
not defined.  The admin webapp doesn't support PersistentMangager, 
therefore, its definition is not there yet.  You can add the definition 
similar to StandardManager in mbean-descriptor.xml in o.a.c.mbeans and 
commit it if many people are using this.

Amy



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



MBean error when using o.a.c.session.PersistentManager

2002-10-18 Thread Jean-Francois Arcand
Hi,

I got the following error when I  start Tomcat with the 
o.a.c.session.PersistentManager manager:

ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with PersistentManager
   at 
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:527)
   at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycl
eListener.java:422)

And when I stop the server:

ServerLifecycleListener: destroyMBeans: Throwable
javax.management.InstanceNotFoundException: MBeanServer cannot find 
MBean with ObjectName
Catalina:type=Valve,sequence=5890388,path=/admin,host=localhost,service=Tomcat-Standalon
e
   at 
mx4j.server.MBeanServerImpl.findMBeanMetaData(MBeanServerImpl.java:282)
   at 
mx4j.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:611)

Is those errors expected since the PersistentManager is considered 
experimental? Seems to me to be a bug.

Thanks,

-- Jeanfrancois


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



Re: MBean error when using o.a.c.session.PersistentManager

2002-10-18 Thread Jean-Francois Arcand
Sorry for the second postmy mail server is having problems

Jean-Francois Arcand wrote:


Hi,

I got the following error when I  start Tomcat with the 
o.a.c.session.PersistentManager manager:

ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with PersistentManager
   at 
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:527)
   at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycl 

eListener.java:422)

And when I stop the server:

ServerLifecycleListener: destroyMBeans: Throwable
javax.management.InstanceNotFoundException: MBeanServer cannot find 
MBean with ObjectName
Catalina:type=Valve,sequence=5890388,path=/admin,host=localhost,service=Tomcat-Standalon 

e
   at 
mx4j.server.MBeanServerImpl.findMBeanMetaData(MBeanServerImpl.java:282)
   at 
mx4j.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:611)

Is those errors expected since the PersistentManager is considered 
experimental? Seems to me to be a bug.

Thanks,

-- Jeanfrancois


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




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