[A-MQ, jms pool] org.apache.activemq.jms.pool.PooledConnection will not start again after stop() was called.

Solution Verified - Updated -

Issue

  • org.apache.activemq.jms.pool.PooledConnection will not start again after stop() was called. According to the JMS spec "temporarily stopped
    using its stop() method. It can be restarted using its start() method." . When start() is called after stop() the following exception is thrown
javax.jms.IllegalStateException: Connection closed
    at org.apache.activemq.jms.pool.PooledConnection.assertNotClosed(PooledConnection.java:206)
    at org.apache.activemq.jms.pool.PooledConnection.start(PooledConnection.java:94)

Environment

  • A-MQ 6.2.1 GA

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.