Calling an EJB using environment naming context (ENC) from a thread startet in a servled doesn't work in EAP 6

Solution Verified - Updated -

Issue

  • In EAP 4 I can start a Thread in the servlets init method. This thread is able to lookup and call local EJBs (through ENC JNDI)
  • In EAP 6 the thread seems not be able to look up the EJB.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.