Details
Description
I have a problem with porting a Tomcat application to Geronimo. The error stacktrace is attached.
I deployed the war without any deployment plan and the app seams to be working (JSPs work and the startup-servlet works as well)
But the JAASLoginModule was missing, so I could not log in. -> so far no Problem!
Afterwards I configured a security realm with the console and after a restart my app does not complain about a missing LoginModule but throws the attached error stacktrace.
For Tomcat I do the following:
in catalina.properties I set
#######JAAS
java.security.auth.login.config=${catalina.base}/conf/login.config
and the login.config looks like this:
MyApp {
de.jato.security.auth.module.JatoServletLoginModule Sufficient loginServlet="/login/login.jsp";
};
I tried to use a special geronimo-web.xml where I set the
<context-priority-classloader>true</context-priority-classloader>
But I still get the same error:
javax.security.auth.login.LoginException: org.apache.geronimo.common.GeronimoSecurityException: Unable to instantiate login module
Caused by: java.lang.ClassNotFoundException: de.jato.security.auth.module.JatoServletLoginModule
Am I doing something wrong? The class is in the war I deployed, and everything works fine in Tomcat.
Attachments
Attachments
Issue Links
- is part of
-
GERONIMO-289 WEB-INF/lib/* and WEB-INF/classes aren't on configuration class loader
- Closed
- is related to
-
GERONIMO-1704 Console security realm doesn't let you pick a JAR
- Closed