After upgrading to DevTest 10.8, we are seeing the MQ connections fail for our virtual services, with the following error:
STACK TRACE java.lang.VerifyError: Bad type on operand stack Exception Details: Location: com/ibm/mq/ese/jmqi/ESEJMQI.spiConnect(Ljava/lang/String;Lcom/ibm/mq/jmqi/system/SpiConnectOptions;Lcom/ibm/mq/jmqi/MQCNO;Lcom/ibm/mq/jmqi/handles/Phconn;Lcom/ibm/mq/jmqi/handles/Pint;Lcom/ibm/mq/jmqi/handles/Pint;)V @63: invokespecial Reason: Type 'com/ibm/mq/jmqi/system/SpiConnectOptions' (current frame, stack[2]) is not assignable to 'com/ibm/mq/jmqi/system/LpiPrivConnStruct' Current Frame: bci: @63 flags: { } locals: { 'com/ibm/mq/ese/jmqi/ESEJMQI', 'java/lang/String', 'com/ibm/mq/jmqi/system/SpiConnectOptions', 'com/ibm/mq/jmqi/MQCNO', 'com/ibm/mq/jmqi/handles/Phconn', 'com/ibm/mq/jmqi/handles/Pint', 'com/ibm/mq/jmqi/handles/Pint' } stack: { 'com/ibm/mq/ese/jmqi/ESEJMQI', 'java/lang/String', 'com/ibm/mq/jmqi/system/SpiConnectOptions', 'com/ibm/mq/jmqi/MQCNO',
'com/ibm/mq/jmqi/handles/Phconn', 'com/ibm/mq/jmqi/handles/Pint', 'com/ibm/mq/jmqi/handles/Pint' }
DevTest 10.8
Upon investigation, we noticed the following MQ jar files were placed in the DevTest_Home\lib directory:
Placing the MQ jar files in the DevTest_Home\lib directory appears to be conflicting with the core DevTest jars. DevTest 10.8 is picky about where 3rd-party jars are place. A good rule of thumb is to place all 3rd-party jar files inside the DevTest_Home\lib\shared directory.
To correct the issue, move the following two jars into the DevTest_Home/lib/shared directory:
Remove all other jars, as these are not required for MQ release 9, and restarted the service.