Skip to Content
avatar image
Former Member

MQ JMS Issue in PO 7.4 AEX

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 31, 2015 at 12:24 PM

    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.

    IBM MQ (5.3, 6.0, 7.0) Interoperability with PI

    1138877 - How to Deploy External Drivers JDBC/JMS Adapters


    SAP note 1751177 PI JMS adapter with MQ client library 7.1 and 7.5

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dear Sreenivas,

      Open Sender Channel, go to "Adapter-Specific" tab, go to "Source" sub tab and un-check the "Enable Topic Support" option.

      This should resolve this exception.

  • avatar image
    Former Member
    Aug 29, 2015 at 01:04 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 29, 2015 at 02:29 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 31, 2015 at 06:01 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.