on 07-13-2015 6:14 PM
Dear Experts,
please help on this issue,
Unable to execute statement for table or stored procedure. INT_GRN_Batch_Char (Structure Statement) due to com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 426) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. INT_GRN_Batch_Char (structure Statement): com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 426) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. INT_GRN_Batch_Char (structure Statement): com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 426) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. INT_GRN_Batch_Char (structure Statement): com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 426) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. INT_GRN_Batch_Char (structure Statement): com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 426) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Regards,
Prasad Polani
one simple option is to stop and start the channel to process the messages however always this is not the best practice the reason can be huge volume of data and the same communication channel might be used to call SP/Query.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Polani,
May be you are overloading your DB, have you tried to set Disconnect from Database After Processing Each Message in your JDBC receiver?
Check this link with your DB team Troubleshooting Deadlocks as well
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Iñaki Vila,
if we click on restart button then the system error messages in adapter Engine by handwork then it goes.Is any methode need to follow to avoid deadlock.
Thanks & Regards
prasad
It looks more on Query/SP issue , try running Query/SP on db without using PI see how it behaves.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikrant Kaushik,
if we click on restart button then the system error messages in adapter Engine by handwork then it goes.
Thanks & Regards
prasad
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.