cancel
Showing results for 
Search instead for 
Did you mean: 

Issue starting JMS Sender Channel in PI 7.31

Former Member
0 Kudos

Hi All,

We have deployed MQ JMS jars on our PI 7.31 Single Stack recently. We verified if the MQ related jars are available in the com.sap.aii.adapter.lib from Java Class Loader and they are available. However the communication channel throws the following exception.

A channel error occurred. Detailed error (if any) : java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQQueueConnectionFactory : cannot initialize class because prior initialization attempt failed <br>     at java.lang.Class.forName0(Native Method) <br

We also found an exception in the nwa logs as below.

Reading IntegraionFlowRules from CPA Cache failed.
[EXCEPTION]
  com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=<Business System of my JMS system>;TS=;AN=null;ANS=null;
at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:250)
at...

We refreshed all available Caches from administrator. But this exception remains the same.

Can anyone please help in getting our Sender JMS channel started?

Thank You.

Best Regards,

Sailaja.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi All,

Doing configuration mentioned in  SAP note 1751177 PI JMS adapter with MQ client library 7.1 and 7.5 fixed our issue.

Hence closing the thread.

Thank You.

Best Regards,

Sailaja.

Answers (3)

Answers (3)

iaki_vila
Active Contributor
0 Kudos

Hi Sailaja,

What jars have you checked?, check this thread https://scn.sap.com/thread/98136

Have you checked that the JMS server is up?, have you restart j2ee engine after the driver installation?.

Regards.

Former Member
0 Kudos

Hi Inaki,

Yes. The  server is up and running. We connected to it from PI 7.11 and it is working fine. We restarted the PI 7.31 server multiple times. Our MQ version is 7.5. And we have included the below jars in adapter lib.

com.sap.aii.adapter.lib_api.jar

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

Thank You.

Best Regards,

Sailaja.

Former Member
0 Kudos

Hi Sailaja,

Stop the JMS sender channel, do a cache refresh, if its non prod go for a system restart.

Then start this channel, In few cases java threads hang and cache refresh does not work.

Give it a try.

Regards,

Pranav

Former Member
0 Kudos

Hi Pranav,

It is a test machine. So, we restarted the machine multiple times. Still the same issue in JMS channels.

Thank You.

Best Regards,

Sailaja.

Former Member
0 Kudos

Hi everyone,

Any inputs on this one? We are stuck with this scenario.

Thanks a lot for your help in advance.

Best Regards,

Sailaja.

Former Member
0 Kudos

Hi Sailaja,

This error (Couldn't retrieve inbound binding) means PI cannot find a sender agreement for this communication channel. Dit you create one?

Regards,

Koen

Former Member
0 Kudos

This is Java stack only. So, I created an ICO and it is available.

Thank You.

Best Regards,

Sailaja.

Former Member
0 Kudos

Hi

Please do a full cache refresh for your ID objects.

Make sure that the obejcts are updated in the system cache.

Former Member
0 Kudos

Hi Indrajit,

We did a cache refresh and the ICO is available. Not sure why we get this error in the Developer traces.

Thank You.

Best Regards,

Sailaja.