cancel
Showing results for 
Search instead for 
Did you mean: 

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) in JMS to File scenario

Former Member
0 Kudos

Hi All,

we are trying to do jms to file scenario in PI 7.31 single stack system.We have deployed MQ JMS jars on our PI 7.31 Single Stack . 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 sender communication channel throws the following 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)"

i was struck with error.please help me to resolve this error.

I checked SCN Thread also issue starting JMS sender channel http://scn.sap.com/message/14546097 .

but still i am facing same problem.

please help me how to resolve this error.

Thanking you

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

Hi Ganesh - Can you check the below thread for the required jar files.

https://scn.sap.com/thread/98136

can you confirm if you have restarted J2EE engine after the deployment?

Also check if the note 1751177 - PI JMS adapter with MQ client library 7.1 is applicable to you.

Former Member
0 Kudos

Hi Hareesh Gampa

I alredy deployed MQ 7.5 all jars into com.sap.aii.adapter.lib location.I have placed all jars into lib folder and changed provoder.xml file as suggested into sap note.I was deployed using JSPM with updated version 8

Answers (3)

Answers (3)

Former Member
0 Kudos

HI..Hareesh

Thank you very much for help to solve our error.

its very much help me.

thanks alot

Former Member
0 Kudos

Hi Ganesh,

Try and apply the note 1751177 mentioned by Hareesh Gampa in the reply above. We raised an OSS message to SAP and SAP suggested the same note.

We applied the note on our PI 7.31 system and our issue is resolved now.

Thank You.

Best Regards,

Sailaja.

Former Member
0 Kudos

Hi..Sailaja

Thanking you for providing information for solving error .

now our channel working fine.

thank you very much.

one more thing u r also using PI 7.31 single stack system ,i am also very new for that.can u plz add me to u r contacts better quick solutions.

Former Member
0 Kudos

Hello Ganesh!

Can you confirm to have carried out the steps from note

https://service.sap.com/sap/support/notes/1138877

Specially cleaning the javax/jms folder, as specified on the section "Prepare the JMS provider file as follows" (step 2).

BR,

Lucas Santos