tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Labar" <dominique4la...@gmail.com>
Subject Could not find an EJB for reference EndevorFacade to a local session bean that ...
Date Fri, 05 Jan 2007 09:25:06 GMT
I am trying to deploy a geronimo (1.1.1.) -web.xml with references local EJB

1. exception in OpenEJBRef, see Java stack
2. see WEB-INFweb.xml fragment

Q?
1. What occurs behind the scene, (I assumed the bean.jar included in the
webApplication.war!
2. Where to find the org.openejb.deployment.* source code (it is not in the
geronimo src bundle)


Deployer operation failed: Could not find an EJB for reference EndevorFacade
to a local session bean that has the home interface
com.ca.endevor.ejb.EndevorFacadeHomeLocal and the local interface
com.ca.endevor.ejb.EndevorFacadeLocal
*

org.apache.geronimo.common.UnresolvedEJBRefException*: Could not find an EJB
for reference EndevorFacade to a local session bean that has the home
interface com.ca.endevor.ejb.EndevorFacadeHomeLocal and the local interface
com.ca.endevor.ejb.EndevorFacadeLocal

at org.openejb.deployment.OpenEJBReferenceBuilder.getMatch(*
OpenEJBReferenceBuilder.java:257*)

at org.openejb.deployment.OpenEJBReferenceBuilder.createEJBLocalRef(*
OpenEJBReferenceBuilder.java:230*)

at
org.openejb.deployment.OpenEJBReferenceBuilder$$FastClassByCGLIB$$bfd62c9f.invoke
(<generated>)

at net.sf.cglib.reflect.FastMethod.invoke(*FastMethod.java:53*)

at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(*
FastMethodInvoker.java:38*)

**

*WEB-INF/web.xml fragment*

<!-- To refer local EJB's -->



<ejb-local-ref>



<ejb-ref-name>EndevorFacade</ejb-ref-name>



<ejb-ref-type>Session</ejb-ref-type>



<local-home>com.ca.endevor.ejb.EndevorFacadeHomeLocal</local-home>



<local>com.ca.endevor.ejb.EndevorFacadeLocal</local>



<ejb-link>com.ca.endevor.ejb.EndevorFacadeBean</ejb-link>



</ejb-local-ref>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message