cancel
Showing results for 
Search instead for 
Did you mean: 

JMS MQ adapter does not work

Former Member
0 Kudos

Hello

I have a scenarios File --> XI --> JMS (MQ) and JMS(MQ) --> XI --> File. This scenarios work fine in our sandbox, we configured the same thing in our dev PI, (JMS MQ driver deployed). However in Dev:

1) Scenario JMS(MQ) --> XI --> File works perfectly

2) File --> XI --> JMS(MQ) has runtime error in RWB:

Delivering the message to the application using connection JMS_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.ClassCastException: class com.sap.aii.adapter.xi.ms.XIMessage:service:com.sap.aii.adapter.xi.svc\u0040com.sap.engine.boot.loader.ResourceMultiParentClassLoader\u00404da9ec16\u0040alive incompatible with interface javax.jms.Message:library:jms\u0040com.sap.engine.boot.loader.ResourceMultiParentClassLoader\u00403feef1eb\u0040alive.

Sorry \u0040 means the symbol of at, I can't put the symbol at in the message as SDN treat it as eamil addresse and thus block using it. \u0040 should be the unicode of at, but seems not working.

From the error, looks like SAP XI's class not compatible with JMS standard class. How can this be? In DEV, we have many other scenarios (non JMS), they are all working perfectly.

Can somebody tell something from the error?

Thanks

Jayson

Edited by: Jayson on Jan 30, 2009 8:30 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jayson,

Check this URL which answers a problem with com.sap.engine.boot.loader.ResourceMultiParentClassLoader problem:

http://209.85.175.132/search?q=cache:RnFZ9viwuKkJ:https://www.sdn.sap.com/irj/servlet/prt/portal/prt...

Please check that the JDK compliance level is at 5.0

Window->Preferences->Java->Compiler->Compiler compliance level set this to 5.0

Set the installed JRE to the one you have mentioned JDK 5.0 update 16

Window->Preferences->Java->Installed JRE's->

Click on the add button to select the path of your JDK.

once completed click on the check box next to it.

regards,

AKD

Former Member
0 Kudos

Hi AKD,

the link you provided doesn't work. Can you please verify it?

Thanks

jayson

Former Member
0 Kudos

Hi Jason,

You have to copy and paste the link in the browser. It seems to refer to an old question in sdn, which is now accessible only from google's cache.

The answer to the problem was this:

please check that the JDK compliance level is at 5.0

Window->Preferences->Java->Compiler->Compiler compliance level set this to 5.0

Set the installed JRE to the one you have mentioned JDK 5.0 update 16
Window->Preferences->Java->Installed JRE's->
Click on the add button to select the path of your JDK.
once completed click on the check box next to it.

regards,

AKD

Former Member
0 Kudos

Hi AKD,

our PI is installed on Unix system, not Windows system. Do you have guide to do that on unix system?

BTW, your instruction looks like for UDF development. While my error has nothing to do with UDF, it's about PI adapter engine.

Thanks

Jayson

Former Member
0 Kudos

Nobody has idea about this error?