com.ibm.msg.client.jms.DetailedIllegalStateException: MQJCA1031: The method 'setExceptionListener()' can only be called in the application clientJboss Mq integration issue
Issue
while deploying an application, we see the following error:
(We have set this property in our jboss server- "com.ibm.mq.connector.performJavaEEContainerChecks" to the value "false")
MQJCA1031: The method 'setExceptionListener()' can only be called in the application client container.; nested exception is com.ibm.msg.client.jms.DetailedIllegalStateException: MQJCA1031: The method 'setExceptionListener()' can only be called in the application client container.
The application was not running in the application client container when this method was called.
Ensure that the application runs in the application client container, or modify the application to avoid this method call. This JEE restriction may be circumvented by setting the Java system property "com.ibm.mq.connector.performJavaEEContainerChecks" to the value "false".
Environment
-
Red Hat JBoss Enterprise Application Platform
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
