dcsimg
Implementing JAAS in tomcat with struts
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jeff_Hair
Posted On:   Tuesday, December 11, 2001 11:17 AM

I'm trying to implement JAAS authentication via a filter (Servlet 2.3 API) in tomcat (4.0). I'm also using struts. I've installed jaas.jar, modified the catalina.policy file, created a jaas.config, and start tomcat w/ the '-security' option. I'm getting the following exception in the log file upon startup. Could someone point me in the right direction? What am I doing wrong? javax.servlet.UnavailableException: Missing configuration resource for path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1316) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465) at javax.servlet.GenericServlet.init(GenericServlet.java:   More>>

I'm trying to implement JAAS authentication via a filter (Servlet 2.3 API) in tomcat (4.0). I'm also using struts.


I've installed jaas.jar, modified the catalina.policy file, created a jaas.config, and start tomcat w/ the '-security' option.


I'm getting the following exception in the log file upon startup. Could someone point me in the right direction? What am I doing wrong?

			
javax.servlet.UnavailableException: Missing configuration resource for path /WEB-INF/struts-config.xml
at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1316)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:712)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:599)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:777)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:463)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

   <<Less
About | Sitemap | Contact