Skip to main content

java.lang.ClassCastException: com.ibm.mq.jmqi.JmqiException incompatible with com.ibm.mq.MQException error during Websphere MQ Workflow upgrade


Technote (troubleshooting)


Problem(Abstract)

Workflow custom Client is failing to connect to Workflow Runtime after a Service pac (SP8 to SP9) upgrade was done.

Symptom

WebSphere MQ Workflow custom Client is failing to connect to Workflow Runtime

Below errors are received:

WebContainer : 2: doGet (logon): com.ibm. workflow.servlet.client.ClientException java.lang.ClassCastException: com.ibm.mq.jmqi.JmqiException incompatible with com.ibm.mq.MQException OF at com.ibm.workflow.client.util.FmcFMLC.EvaluateCC(FmcFMLC.java:2291) at com.ibm.workflow.client.util.FmcFMLC.Connect_to_QM(FmcFMLC.java:1596) at com.ibm.workflow.client.util.FmcFMLC.PutMsg(FmcFMLC.java:729) at com.ibm.workflow.client.util.FmcFMLC.Converse(FmcFMLC.java: . om.ibm.mq.jmqi.local.LocalMQ$1@30d930d9 run() RETURN com.ibm.mq.jmqi.JmqiException: CC=2;RC=2495;AMQ8568: The native JNI library 'mqjbnd' was not found. [3=mqjbnd] com.ibm.mq.jmqi.JmqiException: CC=2;RC=2495;AMQ8568: The native JNI library 'mqjbnd' was not found. [3=mqjbnd] Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2495;AMQ8568: The native JNI library 'mqjbnd' was not found. [3=mqjbnd] .

Cause

The JMS Connection Factories was trying to make a connection to the local queue manager using BINDINGS mode. The application server tries to load the native library:

mqjbnd

The native library is only loaded and used if an application tries to connect to the local queue manager in BINDINGS mode.


Resolving the problem

To resolve:

  1. Reconfigure JMS Connection Factories to use CLIENT mode instead of BINDING mode prevents the problem from occurring.
  2. The second solution is for you to use this link of MQ: http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.amqaac.doc/aq10320_.htm

Product Alias/Synonym

fmc00wcl
fmc00mqm
fmc00inc

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

WebSphere MQ Workflow

MQ Messaging (fmc00mqm)


Software version:
3.6


Operating system(s):
AIX, HP Itanium, HP-UX, Linux, OS/390, Solaris, Windows, z/OS


Reference #:
1474634


Modified date:
2012-11-12

Translate my page

Content navigation