on 08-28-2015 5:22 PM
We prepared com.sap.aii.adapter.lib.sda as per SAP notes ( adding jar files to lib folder and changing provider.xml file ) and deployed successfully . Server bounced and stil lwe are receing error in comm channel saying "error connecting due to missing class com.ibm.mq.jms.MQQueueConenctionFactory"
property PreloadClasses has been added accoring to note 1751177
Does anyone had same issue and appreciate any input.
Thanks.
Hi Sreenivas,
From the error log, we could say that there is some issue with the class file. Can you cross check whether the relevant class has been loaded in to PI correctly or not.
Also, refer the below blog which might help you.
1138877 - How to Deploy External Drivers JDBC/JMS Adapters
SAP note 1751177 PI JMS adapter with MQ client library 7.1 and 7.5
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We deployed JMS Drivers successfully. Sender channel still has an error
"java.lang.ClassCastException: Canonot cast class com.ibm.mq.jms.MQQueueConnectionFactory to interface javax.jms.TopicConnectionFactory at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.getTopicCF (ConnectorImpl.java:608)..."
Any ideas?
Hi Sreenivas,
The class not found error comes when the driver is not installed properly. To check if the driver jar files installed properly or not, check following two things:
1. Open the jar file with winzip to check if the required Connection Factory class (in your case it's com.ibm.mq.jms.MQQueueConenctionFactory) is really in the jar file or not.
2. Log in to the SAP PI Server OS and Check the folder /usr/sap/<SAPPI_SYSTEM>/J<INSTANCE_NO>/j2ee/cluster/bin/ext/com.sap.aii.adapter.lib/lib if the jar file which you installed using com.sap.aii.adapter.lib.sda is present or not. In the installation is successful, the jar file should be found here.
The driver file doesn't get install even with small configuration mismatch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreenivas,
The jar com.ibm.mqjms.jar has the class com.ibm.mq.jms.MQQueueConenctionFactory. To open a jar file, just save it on local window desktop, rename it to .zip e.g com.ibm.mqjms.zip and open it with winzip or other available software. You should see the file MQQueueConenctionFactory.class with package /com/ibm/mq/jms.
In your last reply, you had mentioned class name as - "com.ibmmq.jms.MQQueueConnectionFactory". Here one dot (".") is missing, the name should be "com.ibm.mq.jms.MQQueueConnectionFactory". Check if the class name is put properly in the channel configuration.
Hello Sreenivas,
Kindly add the missing class in the field something like "Queue connection factory".
Note :
- If it is a sender channel, then you need to add it in source tab.
- If it is a receiver channel. then you need to add it in target tab.
The above settings apply only to JMS-MQ channel.
Just for information, this class acts as library class which connects MQ with PI through JMS Queue.
For every connection of PI with MQ you use this library class, and route them through different folders in MQ which we call JMS Queue.
Kind Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.