Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Tomcat 5.x and ServletContainer JAAS objects

Scott McReynolds

2004-01-20

Replies:

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
©2008 junlu.com - Jax Systems, LLC, U.S.A.