Skip to Content
author's profile photo Former Member
Former Member

PI 7.1 adapter module issue

I deoplyed my module and worked fine. now i changed some code by adding parameter to module

strModuleKey = moduleContext.getContextData("module.key");

I changed the related things in my communication channel(gave parameters)

Now, i get below error while executing...

java.lang.ClassCastException: class com.sap.aii.af.sdk.xi.mo.MessageContext:library:com.sap.aii.af.sdk.libcom.sap.engine.boot.loader.ResourceMultiParentClassLoader428c6e04alive incompatible with interface com.sap.engine.interfaces.messaging.api.Message:interface:com.sap.aii.af.ms.ifccom.sap.engine.boot.loader.ResourceMultiParentClassLoader2dd7e4d6alive

Followed the below url but in vain..

pi-java-adapter-module-problem

incompatible-with-interface---exception-in-adapter

issue-on-developing-adapter-module

Also if you are using PI 7.1 refer to the blog:

/people/stefan.grube/blog/2008/12/11/adjust-your-pi-70-adapter-modules-for-pi-71-in-15-minutes

Please let me know if u have any other suggestions other than this...

Thanks

Prabhakar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.