cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Module in PI 7.1 (PROBLEM)

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

See if this link helps ,please check if the refrences are added properly while creating the Ear file.

Regards,

srinivas

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member204873
Contributor
0 Kudos

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!!