on 12-21-2009 3:23 PM
Hi,
I try to develop an Adapter Module but when I test adapter I have the following error :
"Adapter Framework caught exception: class $Proxy2729_10000:sap.com/adapterModuleLFTODRLF at com.sap.engine.boot.loader.ResourceMultiParentClassLoader at 1e4111d3@alive incompatible with interface com.sap.aii.af.lib.mp.module.ModuleLocal:library:com.sap.aii.af.lib at com.sap.engine.boot.loader.ResourceMultiParentClassLoaderat 4511e86f et alive
Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.ClassCastException: class $Proxy2729_10000:sap.com/adapterModuleLFTODRLF at com.sap.engine.boot.loader.ResourceMultiParentClassLoader at 1e4111d3 at alive incompatible with interface com.sap.aii.af.lib.mp.module.ModuleLocal:library:com.sap.aii.af.lib at com.sap.engine.boot.loader.ResourceMultiParentClassLoader at 4511e86f at alive."
I don't understand what is wrong.
Hi,
Do you have hard reference to the "library:com.sap.aii.af.lib" from your application?
Thanks,
Mukundha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sebastian,
I create file application-j2ee-engine.xml with content :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
<application-j2ee-engine>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.aii.af.lib</reference-target>
</reference>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="service">com.sap.aii.adapter.xi.svc</reference-target>
</reference>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="service">com.sap.aii.af.svc</reference-target>
</reference>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="service">com.sap.aii.af.cpa.svc</reference-target>
</reference>
<fail-over-enable
mode="disable"/>
</application-j2ee-engine>
User | Count |
---|---|
91 | |
10 | |
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.