From user-return-9885-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Fri Apr 04 15:41:18 2008 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 6639 invoked from network); 4 Apr 2008 15:41:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2008 15:41:18 -0000 Received: (qmail 25054 invoked by uid 500); 4 Apr 2008 15:41:15 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 25030 invoked by uid 500); 4 Apr 2008 15:41:15 -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 25019 invoked by uid 99); 4 Apr 2008 15:41:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 08:41:15 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 15:40:23 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jho1z-0005u0-1S for user@geronimo.apache.org; Fri, 04 Apr 2008 08:40:43 -0700 Message-ID: <16492452.post@talk.nabble.com> Date: Fri, 4 Apr 2008 08:40:43 -0700 (PDT) From: punkymt1 To: user@geronimo.apache.org Subject: Re: Error when trying to deploy from Geronimo In-Reply-To: <16491548.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: punkymt1@gmail.com References: <16491548.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I solved the problem finally. I will post the answer just in case anyone needs it. My web.xml had a line in the ejb-ref section which was called home and was pointing to the local interface by mistake. It made geronimo fail at deployment. Cheers B-) punkymt1 wrote: > > Hi, I did an Enterprise Application using Netbeans and worked well with > Glassfish and Sun App. Server 9 but now when I try to deploy using > Geronimo I get this error about not finding the bean. > > org.apache.openejb.OpenEJBException: Cannot find bean > "ejb/CustomerFacadeBean" referenced by bean "GeronimoEnc". > org.apache.geronimo.common.DeploymentException: > org.apache.openejb.OpenEJBException: Cannot find bean > "ejb/CustomerFacadeBean" referenced by bean "GeronimoEnc". > at > org.apache.geronimo.openejb.deployment.EjbRefBuilder.buildNaming(EjbRefBuilder.java:161) > at > org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53) > at > org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(AbstractWebModuleBuilder.java:842) > at > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:343) > at > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165) > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) > at > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) > at > org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at > org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:619) > Caused by: org.apache.openejb.OpenEJBException: Cannot find bean > "ejb/CustomerFacadeBean" referenced by bean "GeronimoEnc". > at > org.apache.openejb.config.JndiEncInfoBuilder.buildEjbRefInfos(JndiEncInfoBuilder.java:338) > at > org.apache.openejb.config.JndiEncInfoBuilder.build(JndiEncInfoBuilder.java:138) > at > org.apache.geronimo.openejb.deployment.EjbRefBuilder.buildNaming(EjbRefBuilder.java:155) > ... 18 more > -- View this message in context: http://www.nabble.com/Error-when-trying-to-deploy-from-Geronimo-tp16491548s134p16492452.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.