The session ejb-jar has the following:
<ejb-ref>
<ejb-ref-name>ejb/CoBean</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
....
<ejb-link>CoBean</ejb-link>
</ejb-ref>
The exception thrown is that it can not resolve the entity bean:
weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'CoBe
an' declared in the ejb-ref or ejb-local-ref 'ejb/CoBean' in the application mod
ule 'GenericSessionEJB.jar' could not be resolved. The target EJB for the ejb-re
f could not be found. Please ensure the link is correct.
at weblogic.ejb20.deployer.EnvironmentBuilder.addEJBLinkRef(EnvironmentB
uilder.java:738)
at weblogic.ejb20.deployer.EnvironmentBuilder.addEJBReferences(Environme
ntBuilder.java:537)
at weblogic.ejb20.deployer.EJBDeployer.bindEJBReferences(EJBDeployer.jav
a:1609)at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1375)
The entity ejb-jar contain:
<entity>
<ejb-name>CoBean</ejb-name>
....
</entity>
<ejb-link>./enity_ejb_jar_file/CoBean</ejb-link>
Make the ejb-link element
<ejb-link>../entity_ejb_jar_file/CoBean</ejb-link>
thanks,
Deepak