Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 9582 invoked from network); 7 Aug 2006 23:32:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Aug 2006 23:32:02 -0000 Received: (qmail 70212 invoked by uid 500); 7 Aug 2006 23:31:56 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 70164 invoked by uid 500); 7 Aug 2006 23:31:56 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 70153 invoked by uid 99); 7 Aug 2006 23:31:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 16:31:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 16:31:55 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4475E7141F2 for ; Mon, 7 Aug 2006 23:29:14 +0000 (GMT) Message-ID: <31024293.1154993354262.JavaMail.jira@brutus> Date: Mon, 7 Aug 2006 16:29:14 -0700 (PDT) From: "Aaron Mulder (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-1602) Switching from Tomcat causes error in JAAS module: "Unable to instantiate login module" In-Reply-To: <606156396.1139401020225.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-1602?page=all ] Aaron Mulder updated GERONIMO-1602: ----------------------------------- Fix Version/s: 1.1.x > Switching from Tomcat causes error in JAAS module: "Unable to instantiate login module" > --------------------------------------------------------------------------------------- > > Key: GERONIMO-1602 > URL: http://issues.apache.org/jira/browse/GERONIMO-1602 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: security, Tomcat > Affects Versions: 1.0 > Environment: Windows XP Prof, JDK 1.5.0_06, Geronimo 1.0 (Tomcat, .zip) > Reporter: Karsten Voges > Fix For: 1.1.x > > Attachments: geronimo-JAAS-login-error.txt > > > 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 > true > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira