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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content