Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 37922 invoked from network); 15 Nov 2006 17:44:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2006 17:44:29 -0000 Received: (qmail 62046 invoked by uid 500); 15 Nov 2006 17:44:36 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 61993 invoked by uid 500); 15 Nov 2006 17:44:36 -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 61967 invoked by uid 99); 15 Nov 2006 17:44:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 09:44:36 -0800 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [66.196.97.95] (HELO web56906.mail.re3.yahoo.com) (66.196.97.95) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Nov 2006 09:44:22 -0800 Received: (qmail 56796 invoked by uid 60001); 15 Nov 2006 17:44:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3mtSRyZPY44Xq9ynNXYpvgbCstZEf3g9gebOl1I1wWbWNRH5LbF7xOIl3y9HIIzkO8SXJp0+39lxncKurIFrtnzLd7kpeZmNerDGXuzrRiieOLC33coumqvMh1dvx4BmgkDswMVbxxQwVBf51yLaoFfx/sjhtuohO0eQ4tnc4uo= ; Message-ID: <20061115174400.56749.qmail@web56906.mail.re3.yahoo.com> Received: from [205.189.242.131] by web56906.mail.re3.yahoo.com via HTTP; Wed, 15 Nov 2006 09:44:00 PST Date: Wed, 15 Nov 2006 09:44:00 -0800 (PST) From: sreepriya ramakrishnan Subject: Custom Login Modules and Spring To: user@geronimo.apache.org, dev@geronimo.apache.org In-Reply-To: <9b85c45f0611140521o70bb8916n547ee708627b4529@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I am workign in geronimo 1.0. Because of the known problem with Logim Modules not available in the War, I created a dummy ejb project and put my login modules in there. My login module internally uses Spring to talk to the delegate. Now the login modules are identified, but at the poitn where I try to cast the class returned by the getBean method of ClassPathXmlApplicationContext, I get a BeanNotofrequiredTypeException like this: com.test.testdelegate is not of type [com.test.testdelegate] This delegate class is within another jar file which is added as part of the manifest classpath of the EJB project. I am able to do the same thing from within say an action class,but from login module I get this exception. Your input will be appreciated. Thanks, Priya ____________________________________________________________________________________ Sponsored Link Rates near historic lows - $200,000 mortgage for $660/ month - http://yahoo.ratemarketplace.com