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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content