on 11-20-2013 10:04 AM
Hello Team,
I am working on SAP PI 7.3.1 Single stack while working with the JMS adapter i have encountered an errror in the communication channel of the JMS that is "connnection due to missing class:com.ibm.mq.jms.MQQueueConnectionFactory.please ensure that all needed resources are present in the JMS provider library:com.sap.aii.adapter.lib.sda".
So i want the required jars to be placed in the folder could any one please help me from where could i get the jars from.
Regards,
Avinash.
You should take a look on the Note 1138877 - How to Deploy External Drivers JDBC/JMS Adapters
Regards,
Subhash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also it is available on Service Marketplace
My Company's Application Components" My Company's Software" XI 3RD PARTY" XI 3RD PARTY 7.31
Regards,
Subhash
Hello Subhash,
As you have suggested me, we have done the following...
We have added the following jars in the com.sap.aii.adapter.lib-->lib folder
<jar-name>lib/CL3Export.jar</jar-name>
<jar-name>lib/com.ibm.mq.axis2.jar</jar-name>
<jar-name>lib/com.ibm.mq.commonservices.jar</jar-name>
<jar-name>lib/com.ibm.mq.defaultconfig.jar</jar-name>
<jar-name>lib/com.ibm.mq.headers.jar</jar-name>
<jar-name>lib/com.ibm.mq.jar</jar-name>
<jar-name>lib/com.ibm.mq.jmqi.jar</jar-name>
<jar-name>lib/com.ibm.mq.jms.Nojndi.jar</jar-name>
<jar-name>lib/com.ibm.mq.pcf.jar</jar-name>
<jar-name>lib/com.ibm.mq.postcard.jar</jar-name>
<jar-name>lib/com.ibm.mq.soap.jar</jar-name>
<jar-name>lib/com.ibm.mq.tools.ras.jar</jar-name>
<jar-name>lib/com.ibm.mqjms.jar</jar-name>
<jar-name>lib/connector.jar</jar-name>
<jar-name>lib/dhbcore.jar</jar-name>
<jar-name>lib/fscontext.jar</jar-name>
<jar-name>lib/jms.jar</jar-name>
<jar-name>lib/jndi.jar</jar-name>
<jar-name>lib/jta.jar</jar-name>
<jar-name>lib/ldap.jar</jar-name>
<jar-name>lib/providerutil.jar</jar-name>
<jar-name>lib/rmm.jar</jar-name>
</jars>
and now the current version is 7.3108 and it is deployed succesfully so we tried to run the file to JMS scenario and we found the an error in the communication channel it says "MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQQueueConnectionFactory : cannot initialize class because prior initialization attempt failed"and i have attached the error pic.Please help me in avoiding the error.
This seems a known issue. Check the below message. I would suggest to raise a message to SAP>
http://scn.sap.com/message/14550071
Regards,
Subhash
Hello Chandra,
I have done according to the note and i have placed the jars of MQ 7.5 and entered the vlaue "com.ibm.mq.MQEnvironment,com.ibm.mq.internal.MQCommonServices,com.ibm.mq.jms.MQQueueConnectionFactory,com.ibm.mq.jms.MQTopicConnectionFactory" in the preload classes property and restarted the PI server.
And after that i have run the communication channel of the file to JMS scenario and i have got the following error and i have attched the error and it also shows that the queue manager is not available.
MP: exception caught with cause com.sap.aii.adapter.jms.api.connector.ConnectionException: Error creating Connection from JMS Connection Factory: | com.ibm.mq.jms.MQQueueConnectionFactory :-
| | XMSC_ADMIN_OBJECT_TYPE :- 17
| | XMSC_ASYNC_EXCEPTIONS :- -1
| | XMSC_CLIENT_ID :- <null>
| | XMSC_CONNECTION_TYPE :- 1
| | XMSC_CONNECTION_TYPE_NAME :- com.ibm.msg.client.wmq
| | XMSC_RTT_DIRECT_AUTH :- 0
| | XMSC_RTT_PROXY_HOSTNAME :- <null>
| | XMSC_RTT_PROXY_PORT :- 443
| | XMSC_WMQ_BROKER_CC_SUBQ :- SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE
| | XMSC_WMQ_BROKER_CONTROLQ :- SYSTEM.BROKER.CONTROL.QUEUE
| | XMSC_WMQ_BROKER_PUBQ :- SYSTEM.BROKER.DEFAULT.STREAM
| | XMSC_WMQ_BROKER_QMGR :-
| | XMSC_WMQ_BROKER_SUBQ :- SYSTEM.JMS.ND.SUBSCRIBER.QUEUE
| | XMSC_WMQ_CCDTURL :- <null>
| | XMSC_WMQ_CF_DESCRIPTION :- <null>
| | XMSC_WMQ_CHANNEL :- SYSTEM.DEF.SVRCONN
| | XMSC_WMQ_CLEANUP_INTERVAL :- 3600000
| | XMSC_WMQ_CLEANUP_LEVEL :- 1
| | XMSC_WMQ_CLIENT_RECONNECT_OPTIONS :- 0
| | XMSC_WMQ_CLIENT_RECONNECT_TIMEOUT :- 1800
| | XMSC_WMQ_CLONE_SUPPORT :- 0
| | XMSC_WMQ_CONNECTION_MODE :- 1
| | XMSC_WMQ_CONNECTION_NAME_LIST_INT :-
| | | 0 :- 172.17.3.106(3535)
| | XMSC_WMQ_CONNECTION_TAG :- [B@a99c0a9
| | XMSC_WMQ_CONNECT_OPTIONS :- 0
| | XMSC_WMQ_HEADER_COMP :-
| | | 0 :- 0
| | XMSC_WMQ_LOCAL_ADDRESS :-
| | XMSC_WMQ_MAP_NAME_STYLE :- true
| | XMSC_WMQ_MAX_BUFFER_SIZE :- 1000
| | XMSC_WMQ_MESSAGE_RETENTION :- 1
| | XMSC_WMQ_MESSAGE_SELECTION :- 0
| | XMSC_WMQ_MSG_BATCH_SIZE :- 10
| | XMSC_WMQ_MSG_COMP :-
| | | 0 :- 0
| | XMSC_WMQ_OPT_PUB :- false
| | XMSC_WMQ_OUTCOME_NOTIFICATION :- true
| | XMSC_WMQ_POLLING_INTERVAL :- 5000
| | XMSC_WMQ_PROCESS_DURATION :- 0
| | XMSC_WMQ_PROVIDER_VERSION :- unspecified
| | XMSC_WMQ_PUB_ACK_INTERVAL :- 25
| | XMSC_WMQ_QMGR_CCSID :- 819
| | XMSC_WMQ_QUEUE_MANAGER :- SAPPIQM
| | XMSC_WMQ_RECEIVE_EXIT :- <null>
| | XMSC_WMQ_RECEIVE_EXIT_INIT :- <null>
| | XMSC_WMQ_RECEIVE_ISOLATION :- 0
| | XMSC_WMQ_RESCAN_INTERVAL :- 5000
| | XMSC_WMQ_SECURITY_EXIT :- <null>
| | XMSC_WMQ_SECURITY_EXIT_INIT :- <null>
| | XMSC_WMQ_SEND_CHECK_COUNT :- 0
| | XMSC_WMQ_SEND_EXIT :- <null>
| | XMSC_WMQ_SEND_EXIT_INIT :- <null>
| | XMSC_WMQ_SHARE_CONV_ALLOWED :- 1
| | XMSC_WMQ_SPARSE_SUBSCRIPTIONS :- false
| | XMSC_WMQ_SSL_CERT_STORES_COL :- <null>
| | XMSC_WMQ_SSL_CERT_STORES_STR :- <null>
| | XMSC_WMQ_SSL_CIPHER_SUITE :- <null>
| | XMSC_WMQ_SSL_FIPS_REQUIRED :- false
| | XMSC_WMQ_SSL_KEY_RESETCOUNT :- 0
| | XMSC_WMQ_SSL_PEER_NAME :- <null>
| | XMSC_WMQ_SSL_SOCKET_FACTORY :- <null>
| | XMSC_WMQ_STATUS_REFRESH_INTERVAL :- 60000
| | XMSC_WMQ_SUBSCRIPTION_STORE :- 1
| | XMSC_WMQ_SYNCPOINT_ALL_GETS :- false
| | XMSC_WMQ_TARGET_CLIENT_MATCHING :- true
| | XMSC_WMQ_TEMPORARY_MODEL :- SYSTEM.DEFAULT.MODEL.QUEUE
| | XMSC_WMQ_TEMP_Q_PREFIX :-
| | XMSC_WMQ_TEMP_TOPIC_PREFIX :-
| | XMSC_WMQ_USE_CONNECTION_POOLING :- true
| | brokerVersion :- -1
| | failIfQuiesce :- 1
| | multicast :- 0
| | version :- 7
| | wildcardFormat :- 0: com.ibm.msg.client.jms.DetailedIllegalStateException: JMSWMQ0018: Failed to connect to queue manager 'SAPPIQM' with connection mode 'Client' and host name '172.17.3.106(3535)'.
Hi Avinash,
You need to follow the below sapnote
1751177 - PI JMS adapter with MQ client library 7.1
As per the SAP Note you need to maintain the com.ibm.mq.jms.MQQueueConnectionFactory property to com.sap.aii.adapter.jms.app application.
After making the changes you need to restart the system.
With Regards
Ashutosh Chaturvedi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.