I am having trouble to resolve the SLSB (EJB3) on the web-client (running on the same VM inside the same EAR) on
JBoss AS 4.2.1:
ImportManager (local IF)
ImportManagerBean (SLSB impl)
jboss-web.xml
<jboss-web>
<ejb-local-ref>
<ejb-ref-name>ejb/ImportManagerBean</ejb-ref-name>
<local-jndi-name>ImportManager</local-jndi-name>
</ejb-local-ref>
</jboss-web>
web.xml
<ejb-local-ref>
<ejb-ref-name>ejb/ImportManagerBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>mypackage.ImportManager</local-home>
mypackage.ImportManager
<ejb-link>ImportManager</ejb-link>
</ejb-local-ref>
--> the Bean/local IF should now be available in JNDI-ctx "ImportManager"
context.lookup("ImportManager");
but it IS NOT !
The ear is deployed successfully.
I understand that this trouble is due to a "conflict" between JEE5 (EJB3) and JEE1.4 (
Servlet 2.4) in this JBoss-version. But there should be some solution to this.
Any hint to solve this is appreciated.