You're trying to narrow a directory context. You don't need to narrow an EJB3 and
you should lookup the remote instead.
Please try:
MyRemote bean = (MyRemote) ctx.lookup("MyBean/remote");
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045752#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...