Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 50564 invoked from network); 5 Jan 2007 10:46:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2007 10:46:37 -0000 Received: (qmail 82300 invoked by uid 500); 5 Jan 2007 10:46:41 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 82269 invoked by uid 500); 5 Jan 2007 10:46:41 -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 82258 invoked by uid 99); 5 Jan 2007 10:46:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jan 2007 02:46:41 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Jan 2007 02:46:32 -0800 Received: (qmail 55564 invoked from network); 5 Jan 2007 10:46:10 -0000 Received: from unknown (HELO ?192.168.1.101?) (unknown) by unknown with SMTP; 5 Jan 2007 10:46:10 -0000 X-pair-Authenticated: 222.165.171.185 Message-ID: <459E2C6F.6010202@opensource.lk> Date: Fri, 05 Jan 2007 16:16:07 +0530 From: Lasantha Ranaweera User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: NameNotFoundException -Reg References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Kamal, Looks like your EJB's are remotely referred ones. So better way to do it is adding tags in to the web.xml file and geronimo-web.xml as given below. web.xml ejb/LoanManager Session org.apache.geronimo.samples.loan.ejb.LoanManagerHome org.apache.geronimo.samples.loan.ejb.LoanManager LoanManager geronimo-web.xml ejb/LoanManager LoanManager For more information please refer http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html Hope this help. Lasantha Ranaweera Kamalanathan Raman wrote: > > Kevan , > > Thanks kevan , now my application is running , the jars inside the > Web-inf/lib was corrupt , got it rectified . But now iam getting this > error > > 19:35:23,546 ERROR [ServiceLocator] Fail to find EJB home for > java:comp/env/ejb/TransactionSession > > _javax.naming.NameNotFoundException_: Could not resolve abstract name > query > [Deploy_Lockbox/wlbxbiz/rc/?name=TransactionSessionEJB#org.openejb.EJBContainer] > in configuration default/wlbxapp.ear/1167919492953/ear > > at > org.openejb.proxy.EJBProxyReference.getEJBProxyFactory(_EJBProxyReference.java:111_) > > at > org.openejb.proxy.EJBProxyReference.getContent(_EJBProxyReference.java:90_) > > at > org.apache.geronimo.naming.enc.CachingReference.resolveReference(_CachingReference.java:55_) > > at > org.apache.geronimo.naming.enc.CachingReference.get(_CachingReference.java:45_) > > at > org.apache.geronimo.naming.enc.AbstractReadOnlyContext.lookup(_AbstractReadOnlyContext.java:86_) > > at > org.apache.geronimo.naming.java.RootContext.lookup(_RootContext.java:51_) > > at javax.naming.InitialContext.lookup(Unknown Source) > > at com.symcor.wlbx.util.ServiceLocator.getHome(_ServiceLocator.java:163_) > > at > com.symcor.wlbx.web.servlet.ReportServlet.initializeResourceLookups(_ReportServlet.java:907_) > > at > com.symcor.wlbx.web.servlet.ReportServlet.init(_ReportServlet.java:668_) > > at > org.apache.catalina.core.StandardWrapper.loadServlet(_StandardWrapper.java:1105_) > > at > org.apache.catalina.core.StandardWrapper.load(_StandardWrapper.java:932_) > > at > org.apache.catalina.core.StandardContext.loadOnStartup(_StandardContext.java:3915_) > > at > org.apache.catalina.core.StandardContext.start(_StandardContext.java:4176_) > > at > org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(_GeronimoStandardContext.java:67_) > > at > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(_GeronimoStandardContext.java:337_) > > at > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(_GeronimoBeforeAfterValve.java:31_) > > at > org.apache.geronimo.tomcat.GeronimoStandardContext.start(_GeronimoStandardContext.java:192_) > > at > org.apache.catalina.core.ContainerBase.addChildInternal(_ContainerBase.java:759_) > > I have one query , like iam using home and remote interface to refer > to another EJB . So how shud I put the references in geronimo-web.xml. > I have attached web.xml > > > > ejb/TransactionSession > > Session > > com.symcor.wlbx.biz.ejb.transaction.TransactionSessionHome > > com.symcor.wlbx.biz.ejb.transaction.TransactionSession > > > > How should I add the references in Geronimo-web.xml . Currently iam > adding the EJB jars in the repository and referring to it by this way > > > > ejb/TransactionSession > > > > Deploy_Lockbox > > wlbxbiz > > rc > > TransactionSessionEJB > > > > > > What is the correct way to go about it. If I don`t do this iam getting > � Could not find EJB for reference ejb/AuthenticateSession having home > interface �and remote interface�.� > > Can u help me out in this regard. > > Thanks and Regards, > > Kamal > > **************** CAUTION - Disclaimer ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > solely for the use of the addressee(s). If you are not the intended > recipient, please notify the sender by e-mail and delete the original > message. Further, you are not to copy, disclose, or distribute this > e-mail or its contents to any other person and any such actions are > unlawful. This e-mail may contain viruses. Infosys has taken every > reasonable precaution to minimize this risk, but is not liable for any > damage you may sustain as a result of any virus in this e-mail. You > should carry out your own virus checks before opening the e-mail or > attachment. Infosys reserves the right to monitor and review the > content of all messages sent to or from this e-mail address. Messages > sent to or from this e-mail address may be stored on the Infosys > e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** >