on 03-07-2012 5:43 AM
Hello Experts,
In PROD environment i am facing roll back issue while Sender JDBC channel reading data from Data base.
Error during commit or rollback of database transaction: 'com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to commit transaction: The transaction has been rolled back: com.sap.engine.services.ts.transaction.TxRollbackException'.
how can i resolve the issue.
Regards
Praveen
Hi,
Check this note as well
Note 1322292 - TxRollbackException: Messages in Sender Channels are skipped
Regards,
Venkata S Pagolu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for every one
Table is not locked from sender system and also for testing from PI QUAL i have given the smae details of Prod Data base with out updating the status then sender JDBC channel is picking the payload .
But for the same is not happening with PROD Server it is giving Error during commit or rollback of database transaction.
Note 1322292 is showing for Seeburger Adopter
I am not able to trace where the problem is please suggest me any refresh i have to do .
Regards
Praveen
Edited by: Maareddy Praveen Reddy on Mar 7, 2012 10:20 AM
Hi carme,
In PROD also same statement is there.also i have transpoted the particular scenario ID objects from QUAL to PROD.
but no luck still it is showing the same error.
In NWA Java log overview in ALERT JAVA it is showing as below
Module Exception 'com.sap.aii.af.lib.mp.module.ModuleException: senderChannel 'b82c9c0d986339a3a106d15229e3590e': Catching exception calling messaging system' found, cause: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id e7c93922-c980-43a9-3235-88e2074a0568(OUTBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPSR3DB.SYS_C00169819) violated
Regards
Praveen
Edited by: Maareddy Praveen Reddy on Mar 7, 2012 10:55 AM
Hi Ram,
After Full cache of the system also no luck .
I asked the database guys to change the status from 0 to 1 of data base now channel is behaving in strange way showing as processing successfully it is picking one single record again and again .
I removed the actual table name and given XYZ as table name it showing as table does not exist but same message ID is generating with same record and these messages are not reaching to MONI.
I opened the message ID in Audit log error messages is showing as
Putting message into send queue failed, due to: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id e7c93922-c980-43a9-3235-88e2074a0568(OUTBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPSR3DB.SYS_C00169819) violated .
Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id e7c93922-c980-43a9-3235-88e2074a0568(OUTBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPSR3DB.SYS_C00169819) violated
MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id e7c93922-c980-43a9-3235-88e2074a0568(OUTBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPSR3DB.SYS_C00169819) violated
I feel that this data some where picking internally in PI only posting again and again
Please throw some light on the issue.
Regards
Praveen
Praveen
As you can see in note and due to a bug message id is badly re-generated.
This issue can appear in file or jdbc adapters.
You must appy the note to prevent future issues.
In my case, to recover the functionality quickly , I have created a copy of sender cc and redirect sender agreement to the new communication channel . You must do that in Integration Builder.
Regards,
Carme.
Hi,
Please find below details from sap help if it helps you.
Database Auto-Commit-Enabled (No Transaction Handling)
Set the indicator if you want to deactivate the logical unit of work, which the JDBC adapter requires to guarantee that the data in the database is consistent.
This option is required for JDBC drivers that do not support transactions. To avoid data inconsistencies in the database when the isolation level is lowered, ensure that multiple database transactions cannot access the database simultaneously.
Do not set this indicator if the JDBC driver supports transactions, that is, if a corresponding error message is not displayed in normal operation.
link [http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm]
Regards,
Venkata S Pagolu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Praveen,
Can you confirm from the sender system that table is not Locked ?
Cheers
Agasthuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think it is Data base issue .
Did your channel able to pull the messages from Data base or before perfroming select only this error coming?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.