This content has been marked as final.
Show 3 replies
-
1. Re: Could not enlist XAResource!
marklittle Jun 29, 2006 3:31 PM (in response to subramaniam.venkat)The transaction is marked for rollback (could be via an explicit call to setRollbackOnly or a transaction timeout, for example). In that case, you're not allowed to register any new participants.
-
2. Re: Could not enlist XAResource!
subramaniam.venkat Jun 30, 2006 4:25 AM (in response to subramaniam.venkat)"mark.little@jboss.com" wrote:
The transaction is marked for rollback (could be via an explicit call to setRollbackOnly or a transaction timeout, for example). In that case, you're not allowed to register any new participants.
Thanks for the feedaback.
As you said we have EJB in our application,but we have called the setRollbackOnly only in the catch block and i also debugged the code and i saw that it never enter the catch block.
And the transaction timeout is the default timeout of JBoss which is 300 secs.
We have not mentioned any transaction tmeout in our application.
Can you please let me know any further information which i can check
Awaiting Reply
Anand -
3. Re: Could not enlist XAResource!
kconner Jun 30, 2006 4:59 AM (in response to subramaniam.venkat)There are a number of implicit points at which setRollbackOnly could be called on a transaction, you can find out more information by enabling logging on the org.jboss.tm.TransactionImpl class. From memory these include
Transaction timeout
Unchecked or RemoteException thrown from EJB method
Failure in ejbStore