cancel
Showing results for 
Search instead for 
Did you mean: 

Error in connection to WebSphere MQSeries V7 from PI 7.11

nicola_martella2
Participant
0 Kudos

Hi to all.

I'm trying to define a receiver JMS communication channel on a WebSphere MQSeries V7.0.1.3 from PI 7.11.

When the cc tries to write on MQSeries queue, the following error is raised:


An  error occurred while processing message:
 80144f0d-c5fc-1ed0-b0ec-b90c5bb04fc0. The detailed error (if any):
  com.sap.aii.adapter.jms.api.connector.ConnectorException:
 Cannot construct connection factory using constructor:
 ConstructorInvocationException:
 Error executing constructor invocation:
 {ConstructorInvocation {className=com.ibm.mq.jms.MQQueueConnectionFactory, invokeParams=[] }:
 SAPClassNotFoundException:
 com.ibm.mq.jms.MQQueueConnectionFactory

Following the SAP Note 747601 "J2EE JMSAdapter MQSeries libraries" I installed the com.sap.aii.adapter.lib.sda and I verified the presence of the jars for MQSeries 7.0

CL3Export.jar

CL3Nonexport.jar

com.ibm.mq.headers.jar

com.ibm.mq.jar

com.ibm.mq.jmqi.jar

com.ibm.mq.pcf.jar

com.ibm.mqjms.jar

connector.jar

dhbcore.jar

fscontext.jar

providerutil.jar

rmm.jar

That note speaks about not commitment of IBM vs J2EE runtime for the JMS client API. However I found several threads about using of MQSeries V7 on SAP PI.

In my cc receiver configuration I set


QueueConnectionFactory Java Class:  com.ibm.mq.jms.MQQueueConnectionFactory
Queue Java Class:  com.ibm.mq.jms.MQQueue
Transport/Network Protocol:  TCP/IP
Target Client:  WebSphereMQ (non-JMS)

Where could be the problem? Really the version are not supported on SAP PI J2EE?

Thank you for your attention and ciao

Nicola

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member201768
Participant
0 Kudos

Hi,

according to this note 1138877 - How to Deploy External Drivers JDBC/JMS Adapters
i
i have removed all standard .CLASS in the all the jar files of Websphere by using WINRAR but i am still facing the issue.

CL3Export.jar

CL3Nonexport.jar

com.ibm.mq.headers.jar

com.ibm.mq.jar

com.ibm.mq.jmqi.jar

com.ibm.mq.pcf.jar

com.ibm.mqjms.jar

connector.jar

dhbcore.jar

fscontext.jar

providerutil.jar

rmm.jar

i just want to know that i am proceeding towards right direction?

do we have to remove all the .CLASS file in the above jar files and then add this to com.sap.aii.adapter.lib.sda file?

Thanks and Regards,

Murtaza Najmi

VijayKonam
Active Contributor
0 Kudos

Looks like despite all the driver classes are present, there seems to be at least one class missing..!! Check with MQSeries if there is any updated driver available.

VJ

nicola_martella2
Participant
0 Kudos

Hi Vijaya,

I hoped that you could be right but I received a screenshot with all the jars listed in the SAP note for the MQSeries 7.0.

Some other idea?

Nicola

nicola_martella2
Participant
0 Kudos

Hi All,

I want to share with those who had the same problem the solution at my issue.

I appreciated that don't there are some incompatibility between MQ Series 7.x and SAP PI 7.11.

The only problem was the com.ibm.mqjms.jar file corrupted.

Once changed with the correct one, the connection has worked fine.

Ciao

Nicola

Edited by: Nicola Martella on Sep 12, 2011 5:02 PM