WebSphere MQ JMS adapter configurations for SAP PI
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.
Prerequisites :
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 :
https://scn.sap.com/community/netweaver-administrator/blog/2014/01/28/nwds-step-by-step-in-the-loving-memory-of-sdm
Below are Receiver JMS adapter Configurations:
`
Processing Tab:
Sender JMS adapter:
Processing Tab:
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
Solution: AS same above.
New NetWeaver Information at SAP.com
Very Helpfull