geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From punkymt1 <punky...@gmail.com>
Subject Re: Error when trying to deploy from Geronimo
Date Fri, 04 Apr 2008 15:40:43 GMT

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.


Mime
View raw message