dcsimg
How do I solve this problem related with EJB and Database
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, March 31, 2001 11:56 AM

Two session beans are trying to update the same row in a table at the same time.A kind of deadlock situation is created and exception is thrown. Exception during commit of transaction: '986065879277_11' javax.transaction.RollbackException: Transaction TxC (1791890865, xid = 986065879277_11, timeout = 0, txState = Rolledback, root = null has been rolled back.Reason: Transaction (TxC (1791890865, xid = 986065879277_11, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec. at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(CoordinatorImpl.java:726) at weblogic.jts.internal.CoordinatorImpl.commit(CoordinatorImpl.java:347) at weblogic.jts.internal.TxContext.commit(TxContext.java:255)...........    More>>

Two session beans are trying to update the same row in a table at the same time.A kind of deadlock situation is created and exception is thrown.

Exception during commit of transaction: '986065879277_11' javax.transaction.RollbackException: Transaction TxC (1791890865, xid = 986065879277_11, timeout = 0, txState = Rolledback, root = null has been rolled back.Reason: Transaction (TxC (1791890865, xid = 986065879277_11, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec. at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(CoordinatorImpl.java:726) at weblogic.jts.internal.CoordinatorImpl.commit(CoordinatorImpl.java:347) at weblogic.jts.internal.TxContext.commit(TxContext.java:255)...........

   <<Less

Re: How do I solve this problem related with EJB and Database

Posted By:   source_direct  
Posted On:   Tuesday, April 10, 2001 09:13 PM

Increase your timeout. If it shouldn't be timing out then whatever the query/update is doing is probably not your intention.
About | Sitemap | Contact