Remote Naming thread holding lock causing thread pile up when closing in JBoss EAP 6.4

Solution Unverified - Updated -

Issue

  • Our application is using remote naming to post JMS messages, when under heavy load with a lot of clients opening & closing remote naming connections, we found a lot of threads blocked such as :
   java.lang.Thread.State: BLOCKED
    at org.jboss.naming.remote.client.EndpointCache.get(EndpointCache.java:41)
    - waiting to lock <1c3bfa61> (a org.jboss.naming.remote.client.EndpointCache) owned by "Thread-1 (HornetQ-client-global-threads-2114338462)"

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.4

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.