javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/HelloBeanLocal in JBoss EAP 6
Issue
- We are seeing this error when our EJB client tries to lookup our EJB's local interface :
javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/HelloBeanLocal
at com.jboss.examples.ejb.HelloBeanUtil.createLocalHome(HelloBeanUtil.java:95)
at com.jboss.examples.ejb.HelloBeanUtil.getLocal(HelloBeanUtil.java:133)
at com.jboss.examples.ejb.HelloBeanUtil.hello(HelloBeanUtil.java:242)
at com.jboss.examples.ejb.client.TestBean.hello(TestBean:30)
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.