[jboss-user] [Installation, Configuration & Deployment] - Re: javax.naming.NameNotFoundException

jaikiran do-not-reply at jboss.com
Tue Aug 1 02:04:36 EDT 2006


If you are looking up the PromotionLocal bean then your jndiName should be java:comp/env/ejb/PromotionLocal and your code should look like:

String jndiName = "java:comp/env/ejb/PromotionLocal";
  | Object objRef = initialContext.lookup(jndiName);



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

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



More information about the jboss-user mailing list