[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

mailmustu do-not-reply at jboss.com
Thu May 31 08:34:27 EDT 2007


I think my JNDI lookup is wrong,
I tried all of the following:


  | hw = (HelloWorldLocal) ctx.lookup(HelloWorldLocal.class.getName());
  | hw = (HelloWorldLocal) ctx.lookup("HelloWorldLocal/local");
  | hw = (HelloWorldLocal) ctx.lookup("MyEjb3/HelloWorldLocal/local");
  | 
  | hw = (HelloWorldLocal) ctx.lookup("MyEjb3/HelloWorldBean/local");
  | hw = (HelloWorldLocal) ctx.lookup("HelloWorldBean/local");
  | 

In all , it says EJB not bound !!

Is there some way to traverse JNDI Tree in JBoss and see with what name my EJB is getting binded?

any help will be appreciated.

Thanks,
Mustafa


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050123



More information about the jboss-user mailing list