on 01-11-2010 10:58 PM
Hi all, i'm having a problem that i could't resolved.
I want to made a Module ti use in PI 7.1, but i always get the error:
Error: java.lang.ClassCastException:
class $Proxy3112:com.sap/AdapterModuleTlog_EAR @ com.sap.engine.boot.loader.ResourceMultiParentClassLoader @ 25c248d5 @ alive incompatible with interface com.sap.aii.af.lib.mp.module.ModuleLocal:library:com.sap.aii.af.lib @ com.sap.engine.boot.loader.ResourceMultiParentClassLoader @ 7de534cb @ alive
I do not know what could be, i change the imports for the "ejb-jar.xml"
<enterprise-beans>
<session>
<icon/>
<ejb-name>AdapterModuleTlogBean</ejb-name>
<home>com.sap.aii.af.lib.mp.module.ModuleHome</home>
<remote>com.sap.aii.af.lib.mp.module.ModuleRemote</remote>
<local-home>com.sap.aii.af.lib.mp.module.ModuleLocalHome</local-home>
<local>com.sap.aii.af.lib.mp.module.ModuleLocal</local>
<ejb-class>com.sap.adaptermodule.tlog.AdapterModuleTlogBeanBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
But i still having problem.
Anyone know what could be?
Regards,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everybody, thanks for your answers, i could solve the problem changing the application-j2ee-engine.xml.
I added engine.security.facade, engine.j2ee14.facade, com.sap.aii.af.svc.facade, com.sap.aii.af.ifc.facade, com.sap.aii.af.lib.facade and com.sap.base.technology.facade.
With this references my problem was salved.
Thanks to all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Check your EAR file for additional libraries and delete them if necessary. Only the jar with your classes is allowed to be in the EAR. If its fine, try redeploying and check.
Regards,
Swetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Please use references in your application-j2ee-engine.xml file as given in blog by stefan:
/people/stefan.grube/blog/2008/12/11/adjust-your-pi-70-adapter-modules-for-pi-71-in-15-minutes
Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.