Remote EJB client hang when load increases in EAP 7
Issue
-
Remote EJB client hang in awaitResponse when load increases
"default task-127" #285 prio=5 os_prio=0 tid=0x0000000028c9d800 nid=0x3a4c in Object.wait() [0x00000000425ae000] 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 <0x00000006ccf82360> (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)
- Setting "invocation-timeout" in wildfly-config.xml or "invocation.timeout" in the
InitialContext
does not work.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7
- Enterprise Java Beans (EJB)
- JBoss EAP as EJB server.
- JBoss EAP as EJB client.
- protocol "remote+http(s)" or "remote"
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.