cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module in EHP1

former_member204873
Contributor
0 Kudos

hi All,

I had deployed one custom module in EHP1 and had used NWDS 7.1 to create it, now at runtime i am getting below exception as in NWA:

Caused by: java.lang.ClassNotFoundException: com.sap.aii.af.lib.mp.module.ModuleLocal

-


Loader Info -


ClassLoader name: [com.pi.poc/ModulePoc]

Living status: alive

Direct parent loaders:

[system:Frame]

[service:servlet_jsp]

[service:ejb]

My ejb-jar has interfaces as below:

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

My application-j2ee-engine has references as:

engine.security.facade

engine.j2ee14.facade

com.sap.aii.af.svc.facade

com.sap.aii.af.ifc.facade

com.sap.aii.af.lib.facade

com.sap.base.technology.facade

I am following these links:

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

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e674...

Is there any change in references for EHP1?

Any other info for the error i am getting?

Please Help!

Thanks.

Mayank

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

If your adapter module works in 7.10, it should work in 7.11 also.

It is difficult to see, what is wrong. Double check the library references. It should be:

engine.security.facade = service

engine.j2ee14.facade = library

com.sap.aii.af.svc.facade = service

com.sap.aii.af.ifc.facade = interface

com.sap.aii.af.lib.facade = library

com.sap.base.technology.facade = library

former_member204873
Contributor
0 Kudos

hi stefan,

All the references are added correctly. Which reference in application-j2ee-engine.xml actually refers to com.sap.aii.af.lib.mp.module.ModuleLocal.

Thanks.

Mayank

stefan_grube
Active Contributor
0 Kudos

Hi Mayank,

from the error message I guess, that your EAR file contains the library. Use winzip to check the EAR file and remove all standard SAP libraries.

Regards

Stefan

former_member204873
Contributor
0 Kudos

There is no Standard SAP library in my EAR file. Any other Suggestion.