com.ibm.mq.server.MQSESSION (initialization failure) when running MQ eway (Doc ID 1452304.1)

Last updated on MAY 01, 2017

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6 and later
IBM AIX on POWER Systems (64-bit)
***Checked for relevance on 13-AUG-2015***

Symptoms

When using a self made eWay adapter for MQ connection and testing it, the following message is received "java.lang.NoClassDefFoundError: com.ibm.mq.server.MQSESSION (initialization failure)".


ERROR
-----------------------
Failed to create a physical connection to EIS for COMIJ eWay
java.lang.NoClassDefFoundError: com.ibm.mq.server.MQSESSION (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:68)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:508)
... ...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms