Application throwing `MQJCA1018: Only one session per connection is allowed` from JBoss EAP 7

Solution Verified - Updated -

Issue

  • We have configured the IBM WSMQ resource adapter to connect to a WSMQ server. In our application, we attempted to create multiple JMS sessions using the same connection. Our application obtains connections through the JMS RAR but that caused the following exception to occur:
MQJCA1018: Only one session per connection is allowed.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7

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.