Can someone please tell me why I get this strange error and how to solve it?
On rare occasions I am getting the below error output from
JBOSS.
This is when I attempt to load a hibernate encapsulated object from the DB.
The load is requested by a
servlet which references methods in a stateless session bean, but in this case does not use any of the referenced methods.
The load is also not explicitly enclosed in a transaction.
JBOSS 3.0.4
Hibernate 1.0
MYSQL Connector 3.0.8
2004-02-05 10:19:20,546 WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257,
GlobalId=idmnet//1813, BranchQual=] timed out. status=STATUS_ACTIVE
2004-02-05 10:20:01,015 WARN [cirrus.hibernate.helpers.JDBCExceptionReporter] SQL Error:
0, SQLState: null
2004-02-05 10:20:01,015 ERROR [cirrus.hibernate.helpers.JDBCExceptionReporter] Could not
enlist in transaction on entering meta-aware object!javax.transaction.SystemException:
Could not enlist XAResource!javax.transaction.RollbackException: Already marked for
rollback; - nested throwable: (javax.resource.ResourceException: Could not enlist in
transaction on entering meta-aware object!javax.transaction.SystemException: Could not
enlist XAResource!javax.transaction.RollbackException: Already marked for rollback)