cancel
Showing results for 
Search instead for 
Did you mean: 

EJB error after redeployment

peter_wallner2
Active Contributor
0 Kudos

Dear experts,

I have to make an adapter module for an FTP sender channel that converts .xls files to XML.

I took the coding from: http://wiki.sdn.sap.com/wiki/display/ABAP/AdapterModuleToReadExcelFilewithMultipleRowsandMultiple+Columns

It works fine.

But now I do not want to read the first sheet in the EXCEL file but the third one. So I only changed the

wb.getSheet(0)

to

wb.getSheet(2)

. I tried the code locally and it worked.

And then I recreated the Enterprice Application Project and the .ear file.

But when I redeployed the .ear using Visual Admin, I got the following messages in the Deploy Dialog:


Methods from Remote Interface
com.sap.aii.af.mp.module.ModuleRemote are not added in the visual methods tree.
Reason: java.lang.NullPointerException

Methods from Local Interface
com.sap.aii.af.mp.module.ModuleLocal are not added in the visual methods tree.
Reason: java.lang.NullPointerException

Also after Deployment & Start in the Visual Admin it does not say "-ejb" after the module name.

With all the other modules in that list it says "-ejb" after the module name.

And once I run it on PI it gives me an error in RWB:

com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.

I get this error in debugging mode in NWDS:

Error during processing local bean: localejbs/ConvertExcel

Can someone help me please?

Thank you and best regards,

Peter

Accepted Solutions (0)

Answers (1)

Answers (1)

peter_wallner2
Active Contributor
0 Kudos

I am debugging again and now I also get this error


com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_0 could not be shown as the type was not found