EAP 7 threads hang in EJBClientInvocationContext.awaitResponse
Issue
- Threads hang when trying to call remote EJB:
"default task-32" #122 prio=5 os_prio=0 tid=0x0000000002135000 nid=0x391b in Object.wait() [0x00007ff09b70e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:413)
- locked <0x00000000fd41c700> (a java.lang.Object)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:204)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:183)
at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146)
at com.sun.proxy.$Proxy12.getJBossNodeName(Unknown Source)
at org.jboss.as.quickstarts.web.multi.server.app.Servlet.doGet(Servlet.java:64)
[...]
- Many simultaneous calls to servlets each of which invokes a remote EJB causes hang.
Environment
- Red Hat JBoss Enterprise Application Platform 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
