Eric Johnson wrote:
What should happen is that the servlet should set, on Domain, the classloader from the WAR;
This is not possible. If Slide is bootstrapped from the shared classloader it does not have access to the context classloader.
I believe the servlet spec requires that Thread.getContextClassLoader() will return the class loader used to load the classes of the WAR file, at least from any thread invoked by the servlet container.
The problem is that the Domain is initialized from the thread that starts up the SlideRealm. If you look at conf/server.xml then you will see that the Realm is defined at the level of the containing Engine. This means that the stores are created and initialized outside of any particular context.
-- Unico
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
