HQ214021: Invalid concurrent session usage. Sessions are not supposed to be used by more than one thread concurrently

Solution Verified - Updated -

Issue

  • We see the warning below appearing in the server.log:
WARN  [org.hornetq.core.client] (ajp-threads - 17) HQ214021: Invalid concurrent session usage. Sessions are not supposed to be used by more than one thread concurrently.: java.lang.Exception: trace
        at org.hornetq.core.client.impl.ClientSessionImpl.startCall(ClientSessionImpl.java:1312)
        at org.hornetq.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:215)
        at org.hornetq.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:140)
        at org.hornetq.jms.client.HornetQMessageProducer.doSend(HornetQMessageProducer.java:438)
        at org.hornetq.jms.client.HornetQMessageProducer.send(HornetQMessageProducer.java:194)

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.x

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.