Nevermann, Dr., Peter wrote:
Hi,

I verified that SlideRealm in now compatible with the changes made
for ACL-draft-12 compliance some time ago. After a few fixes, the
testsuite now runs fine with:

tprocessor.cmd -davauth default -pattern *cases\\functional* -exclude
*multi-user*

=== Activating SlideRealm I first got the following exception:

ServerLifecycleListener: processContainerAddChild: MBeanException java.lang.Exception: ManagedBean is not found with SlideRealm at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:642)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:462)
at
org.apache.catalina.mbeans.ServerLifecycleListener.processContainerAddChild(ServerLifecycleListener.java:1358)
at
org.apache.catalina.mbeans.ServerLifecycleListener.containerEvent(ServerLifecycleListener.java:189)
at
org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1404)
<...>


Apparently, the server anyway runs fine. But to get rid of it, I
resurrected a shortened version of src/wrappers/wrappers/catalina
slide-descriptors.xml which is needed to properly configure the
ServerLifecycleListener in server.xml of TC 4.x:

<Listener
className="org.apache.catalina.mbeans.ServerLifecycleListener" descriptors="/wrappers/catalina/slide-descriptors.xml" debug="0"/>


Probably, Remy can better explain why that is needed. Also, I have no
idea whether it is required for TC 5.x as well.

The is required so that Tomcat can create a MBean for the realm. Actually, it could now also do it using reflection, but we haven't coded that in.
You don't need to add anything in Tomcat 5, but the descriptors should be package_name.mbeans-descriptors.xml (so here, it's wrappers.catalina.mbeans-descriptors.xml).


R�my



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



Reply via email to