Skip to Content
0
Former Member
Jan 26, 2010 at 08:11 PM

Adapter Module Error when using Advantco SFTP adapter

40 Views

I had developed an adapter module to zip files before processing . This works fine with FTP and FTPS communication channels. We also have SFTP channels using Advantco's SFTP adapter . The same adapter module gives me the following error in CC monitoring on the SFTP channels.

Is there some setting I need to make either in the communication channel or in the module ??

Error when sending message from source file '/public/temp/test.txt': com.sap.engine.services.ts.transaction.TxRollbackException: Current transaction is marked for rollback

MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.adaptermodule.ZipFileBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.adaptermodule.ZipFileBean@16f43358 for bean xyz.com/ZipModulexml|Zip_EJB.jarxml|ZipFile; nested exception is: java.lang.NullPointerException; nested exception is: javax.ejb.EJBException: Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.adaptermodule.ZipFileBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.adaptermodule.ZipFileBean@16f43358 for bean xyz.com/ZipModulexml|Zip_EJB.jarxml|ZipFile; nested exception is: java.lang.NullPointerException; nested exception is: javax.ejb.EJBTransactionRolledbackException: Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.adaptermodule.ZipFileBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.adaptermodule.ZipFileBean@16f43358 for bean xyz.com/ZipModulexml|Zip_EJB.jarxml|ZipFile; nested exception is: java.lang.NullPointerException; nested exception is: javax.ejb.EJBException: Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.adaptermodule.ZipFileBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.adaptermodule.ZipFileBean@16f43358 for bean xyz.com/ZipModulexml|Zip_EJB.jarxml|ZipFile; nested exception is: java.lang.NullPointerException