We have an EAR deployed on AS 4.2.1
In the webapp (war-archive), we need to access an SLSB (EJB3).

MyBeanLocal bean = (MyBeanLocal) context.lookup("java:comp/env/ejb");

But this context is not existing! How comes?

We can access the Bean-proxy using JNDI-path "myapp/MyBean/local", but this 
object is not type-compatible with the local interface (MyBeanLocal).

Any hint why "java:comp/env/ejb" is not existing, and how to obtain the 
type-compatile object?

Marc

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093431#4093431

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093431
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to