Hi All,
We have scheduled a job which should run at certain number of times in a year. The job should run and delete the CE table content (We are using Composite Application Framework (CAF), and Business Objects (BOs)).That is, here the data is deleted from CAF table.
Problem is, scheduled job will run at given time and it works fine as we could see it in logs it is deleting each line of the table, but when the job is completed, the transaction will rollback and result in no deleteion. when we check in logs, we are getting following error,
- Cannot end XA transaction: XID:<XID> in state ROLLBACK_ONLY
- XAException occured during <CLIENT SESSION>Returned status is XAER_PROTO
We are using JEE for coding. When we checked this with Basis team, it looks like a Time out problem. As job is taking nearly 3 and half to complete when actually it should comlete within 45min. So we have thought may be this is because of more data in the table.
can anybody give a solution for this? or can anybody tell if there is any way by which we can COMMIT in code after every line instead of waiting for all the lines to get delete and then COMMIT.
Thanks in Advance.