WebSphere MQ JMS adapter configurations for SAP PI
Business requirements need to integrate with other EAI technologies or some clients may use other EAI tools like(IIB9) in such cases we may get chance to work with inbound or outbound scenario between Queues(MQ) and SAP .
Some cases IBM mainframe systems needs to exchanges data from/to SAP at that time they might use other EAI technologies to place/get the data from host(Mainframe system) to IIB(MQ) where PI need to pick data from queues(MQ) then route it to SAP, In such cases we probably need to configure JMS adapter.
1)Before going to start scenario development we need to deploy respective jar files in PI server using NWDS.(com.sap.aii.adapter.lib.sda)SDA file .
for more information for deploying Jar files please go through below link :
Below are Receiver JMS adapter Configurations:
Sender JMS adapter:
Common Error & Solutions while working with JMS adapter:
1)Error:A channel error occured.Deailed error(if any):java.lang.NoClassFoundError:com/ibm/mq/jms/MQQueueConnectionFactory:cannot initialize class because prior initialization attempt failed at java.lang.ClassforName0(Native Method)
Solution: SAP NetWeaver Administrator → Java System Properties → Applications, select the com.sap.aii.adapter.jms.app application and modify the property value.
For client library MQ version 7.5, set the “preloadClasses” property as: com.ibm.mq.MQEnvironment,com.ibm.mq.internal.MQCommonServices,com.ibm.mq.jms.MQQueueConnectionFactory,com.ibm.mq.jms.MQTopicConnectionFactory.
2)Error: Error creating JMS connection.The JMS provider gave the error message as JMSWMQ2013:The security authontication was not valid that was supplied for QueueManger ‘SAPPIQM’with connection mode ‘Client’and host name ‘xx.xx.xx.xx(I.P)’.JMSCMQ0001:WebSphere MQ call failed with compcode ‘2’(MQCC_FAILED)reason ‘2035’(‘MQRC_NOT_AUTHORIZED’),and the error code as JMSWMQ2013.
Solution: Need to execute the following commands where ever MQ instance placed
Open cmd prompt (run as administrator) execute cmd:
runmqsc LOGGER_QM_DB(QUEUE Manager name)
ALTER QMGR CHLAUTH(DISABLED)
3)Error: Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.jms.core.fsm.DFA$InvalidTransitionException: No transition found from state: ERROR, on event: process_commence for DFA: CC_RCVR_F2J:5e9985d8d2cb3f75a5ba830e6b51b1ac
Solution: AS same above.