Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 33200 invoked from network); 4 Jun 2007 08:15:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 08:15:31 -0000 Received: (qmail 15106 invoked by uid 500); 4 Jun 2007 08:15:30 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 15070 invoked by uid 500); 4 Jun 2007 08:15:30 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 15058 invoked by uid 99); 4 Jun 2007 08:15:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 01:15:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [69.147.95.71] (HELO smtp108.plus.mail.sp1.yahoo.com) (69.147.95.71) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 04 Jun 2007 01:15:24 -0700 Received: (qmail 15195 invoked from network); 4 Jun 2007 08:15:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=Oly+1IE5f2l05p2fUZIhdt+15QZQDos8prphLK8QxMcM2hIrenaorGP3ybRmRDnm1X7ZROqCLocmOjRI52nE6Wrt4XjxTU6L2C+fUyTTA/XiNjO+9ksf1LSkgICzwpW/f8I814srEdIYzZQUjAu2/MMpRIy9UwzQWVEEy8vya+k= ; Received: from unknown (HELO ?10.11.55.8?) (david_jencks@63.105.20.225 with plain) by smtp108.plus.mail.sp1.yahoo.com with SMTP; 4 Jun 2007 08:15:03 -0000 X-YMail-OSG: v1hwYt8VM1n1gOePQFQZ9ZGsVXDEiAbomALnFhEBDKu1Jkaseh5bM.7dOCugM3N4gDEp4W.nafkJc9EVB_Iuy3_j06V4cOIQ_kQvOk.V149CVHvdTaFQRmOJctRW Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <10945123.post@talk.nabble.com> References: <10894283.post@talk.nabble.com> <1639D6BB-B7F8-4267-B147-3531B27CC939@yahoo.com> <10945123.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <490F01F2-8E0A-46AF-9C18-91D0C04BCED6@yahoo.com> Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: Login Module not found Date: Mon, 4 Jun 2007 01:15:37 -0700 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On Jun 4, 2007, at 12:42 AM, MoleSon wrote: > >> Don't set these environment variables. > Doesn't make any difference... >> Since you mention ejbs I assume that you are deploying an >> ear. > Yes, I am deploying an EAR >> If you could outline the structure of the project and indicate >> exactly where you've specified the security realm that would be >> helpful > It is hard to outline the structure of the porject, because it > contains > about 4000 classes and ca. 30 modules. Generally it is an EAR-file > containing the module .jars and only one .war archive. Where are the jar(s) containing the login module class and the classes it needs to work? > I tried to deploy a > server wide security realm via the administrative console, but this > did not > work. For now I'm trying to add my security realm configuration to my > geronimo-application.xml file, to deploy it wlith the application > but I am > not able to get it working because I have no idea where and how to > put it. > Here is one way I tried it, but geronimo did not like it: > > xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1" > xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1" > xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"> > > ... > > > Web.war > ... > > all the other modules > class="org.apache.geronimo.security.realm.GenericSecurityRealm"> > realm > > ServerInfo > > > JaasLoginService > > > xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-1.1"> > server-side="true" wrap-principals="false"> > > realm > > > ourLoginClass > > > > > > This should work. Along with telling us exactly where the missing classes actually are, and if they aren't in an ejb jar how they get into the classpath, please show the stack trace from the ClassNotFoundException. > I also tried to add the gbean to the web module part as well as to > create a > new module that just holds it. -> also did not work That should also work :-) > Could anybody tell me if trying to deploy the securtity realm > together with > the ear file could help me solve my problem and if yes: how do I do > that? What you are trying looks ok to me, so I hope your answers to my additional questions will let us see where the problem lies. thanks david jencks > > Thanks a lot so far, Sascha > > > > djencks wrote: >>