Skip to Content

Dear all,

We need to deploy the MQ libraries on java engine so that messages can be processed from PI/PO sytems to MQ server.

I have taken the reference from the below SAP Notes

1. 747601 – J2EE JMSAdapter: MQSeries libraries

2. 1770304 – PI: How to prepare the com.sap.aii.adapter.lib.sda for deployment

From the SAP Note 747601 , you will get the required libraries information which you need to deploy as per the version of MQ server.

You will need to build aii_af_jmsproviderlib.sda and com.sap.aii.adapter.lib.sda depending on the version of XI adapter.

For XI Adapter 3.0/7.0 , you need to have aii_af_jmsproviderlib.sda file.

For XI Adapter 7.1 above , you need to have com.sap.aii.adapter.lib.sda file.

From where to get the above files :

For version 3.0/7.0 , You will get the aii_af_jmsproviderlib.sda

/usr/sap/<SID>/DVEBMGS<SYSNO>/SDM/root/origin/sap.com/com.sap.aii.af.jmsproviderlib/SAP AG/3.0.0220040608173429.0000/aii_af_jmsproviderlib.sda

For version 7.1 , you will get the com.sap.aii.adapter.lib.sda in SAPXI3RDPARTY08_0-10009499.SCA file.

Preparing com.sap.aii.adapter.lib.sda for deployment :

In our case , the MQ server version is 7.0 , so we have used the below libraries.

1. CL3Export.jar

2. CL3Nonexport.jar

3. com.ibm.mq.headers.jar

4. com.ibm.mq.jar

5. com.ibm.mq.jmqi.jar

6. com.ibm.mq.pcf.jar

7. com.ibm.mqjms.jar

8. connector.jar

9. dhbcore.jar

10. fscontext.jar

11. providerutil.jar

12. rmm.jar

Step 1 :

Rename the SAPXI3RDPARTY08_0-10009499.SCA file to SAPXI#RDPARTY08_0-10009499.ZIP and extract it. You will get the below directories


1. BUILDARCHIVES

2. DEPLOYARCHIVES

3. META-INF

mq1.PNG

Step 2 :


Enter into the DEPLOYARCHIVES directory where you can locate the the required .sda files. com.sap.aii.adapter.lib.sda.


mq2.PNG

Step 3 :

Rename the com.sap.aii.adapter.lib.sda to com.sap.aii.adapter.lib.zip file and extract it

mq3.PNG

mq4.PNG

Step 4 :

Extract the zip file com.sap.aii.adapter.lib.zip

mq5.PNG

Step 5 :

Now goto the directory com.sap.aii.adapter.lib and lib folder you need to put all the jar files as mentioned in the sapnote

mq13.PNG

mq11.PNG

Step 6 :

Goto the directory SAPXI3RDPARTY08_0-10009499\DEPLOYARCHIVES\com.sap.aii.adapter.lib\server and open the provider.xml file

mq6.PNG

Step 7 :

Now edit the provider.xml file as below, we need to add lines <jar-name>lib/CL3Export.jar</jar-name> between the tags <jar></jar>.

Save the provider.xml file.

mq7.PNG

Step 8 :

Now , zip  the file com.sap.aii.adapter.lib to com.sap.aii.adapter.lib.zip

mq8.PNG

mq9.PNG

Step 9 :

Now rename the com.sap.aii.adapter.lib.zip file com.sap.aii.adapter.lib.sda

mq10.PNG

Step 10 :

Now deploy the file with the help of SDM , JSPM and telnet.

I will update the blog from time to time.

Thanks for reading it.

With Regards

Ashutosh Chaturvedi

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply