on 08-17-2011 3:43 PM
Hello,
We have a custom adapter module to encrypt/decrypt the credit card number and it is configured to work with a RFC receiver channel. We recently upgraded to PI 7.1 ehP 1. The code was tested thoroghly before moving it to production and it was working fine until yesterday. We have 2 java nodes and for no particular reason one of the java nodes stopped processing the messages and started giving an exception. The other node was processing the messages fine. The exception is given below . Also when we restarted the node all the messages were re processed successfully. Does anyone know why this is happening?
Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.TransactionRolledbackLocalException: (Failed in component: sap.com/cryptoEAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.crypto.EncryptDecrypt.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.crypto.EncryptDecrypt@28d3be3 for bean sap.com/cryptoEARxml|Crypto.jarxml|EncryptDecrypt in application sap.com/cryptoEAR.; nested exception is: java.lang.IllegalStateException: Container has to be initialized first.; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/cryptoEAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.crypto.EncryptDecrypt.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.crypto.EncryptDecrypt@28d3be3 for bean sap.com/cryptoEARxml|Crypto.jarxml|EncryptDecrypt in application sap.com/cryptoEAR.; nested exception is: java.lang.IllegalStateException: Container has to be initialized first.; nested exception is: javax.ejb.EJBTransactionRolledbackException: (Failed in component: sap.com/cryptoEAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.crypto.EncryptDecrypt.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.crypto.EncryptDecrypt@28d3be3 for bean sap.com/cryptoEARxml|Crypto.jarxml|EncryptDecrypt in application sap.com/cryptoEAR.; nested exception is: java.lang.IllegalStateException: Container has to be initialized first.; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/cryptoEAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.crypto.EncryptDecrypt.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.crypto.EncryptDecrypt@28d3be3 for bean sap.com/cryptoEARxml|Crypto.jarxml|EncryptDecrypt in application sap.com/cryptoEAR.; nested exception is: java.lang.IllegalStateException: Container has to be initialized first..
Thanks
Arvind
Better to open an OSS message with SAP.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arvind,
Did your issue got fixed? If yes could you plz suggest us ?
We too getting the above exception for encryption using customised adapter module.
Below is the exception we are getiing.
Error: javax.ejb.TransactionRolledbackLocalException: (Failed in component: sap.com/PGPEncryptionEAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.ngrid.sap.module.crypto.PGPDecryptionBean.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.ngrid.sap.module.crypto.PGPDecryptionBean@692e8727 for bean sap.com/PGPEncryptionEARxml|PGPEncryption.jarxml|PGPDecryptionBean in application sap.com/PGPEncryptionEAR.; nested exception is: java.lang.NullPointerException: ; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/PGPEncryptionEAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.ngrid.sap.module.crypto.PGPDecryptionBean.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.ngrid.sap.module.crypto.PGPDecryptionBean@692e8727 for bean sap.com/PGPEncryptionEARxml|PGPEncryption.jarxml|PGPDecryptionBean in application sap.com/PGPEncryptionEAR.; nested exception is: java.lang.NullPointerException: ; nested exception is: javax.ejb.EJBTransactionRolledbackException: (Failed in component: sap.com/PGPEncryptionEAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.ngrid.sap.module.crypto.PGPDecryptionBean.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.ngrid.sap.module.crypto.PGPDecryptionBean@692e8727 for bean sap.com/PGPEncryptionEARxml|PGPEncryption.jarxml|PGPDecryptionBean in application sap.com/PGPEncryptionEAR.; nested exception is: java.lang.NullPointerException: ; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/PGPEncryptionEAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.ngrid.sap.module.crypto.PGPDecryptionBean.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.ngrid.sap.module.crypto.PGPDecryptionBean@692e8727 for bean sap.com/PGPEncryptionEARxml|PGPEncryption.jarxml|PGPDecryptionBean in application sap.com/PGPEncryptionEAR.; nested exception is: java.lang.NullPointerException:
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.