Defining web.xml with <ejb-local-ref> is not working in EAP6 and throws NameNotFoundException

Solution Verified - Updated -


  • We have a WAR File which has the tag defined in it's "web.xml" file.

In Client code we are trying to lookup the local EJB as following:

SomeService svc = (SomeService) ctx.lookup("ejb3/SomeService/local");


  • JBoss Enterprise Application Platform (EAP)
    • 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In