Instead of changing the catalina.properties to alter the class loading setup, try putting the jar with your login module & other classes it depends on in the $CATALINA_HOME/common/lib directory.
Adam
On 01/21/2004 12:55 AM Scott McReynolds wrote:
Hi,
I have implemented a JAAS Relm with Tomcat 4.X. After I upgraded to Tomcat 5.x I get an error saying that the LoginModule class could not be found. The class location had not changed from 4.x to 5.x. I added the webapp/web-inf/lib to the server.loader property of the catalina.properties file. That fixed the class not found problem but now when I try to use my ServletContainer JAAS object I now get an error saying that org.apache.turbine.services.InstantiationException: ServiceBroker: unknown service Logging requested (which is log4j) which is in the web application config folder.
I am using Tomcat 5.x with Jetspeed. Any thoughts. It seems as if the classloader has been broken with Tomcat 5.x
Any thoughts?
--------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
-- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
