Hi,

I have a problem with some transaction stuff. My transactions sometimes roll
back when I try to commit them. There is no problem during the transaction
i.e. no exceptions get thrown and the UserTransaction.getStatus returns
Status.STATUS_ACTIVE before commit is called, but when I call commit I get
the following stack trace

javax.transaction.RollbackException
 at com.evermind.server.ApplicationServerTransaction.commit(JAX)
 at com.evermind.server.ApplicationServerTransactionManager.commit(JAX)
 at
knut.ejb.session.RequestHandlerBean.handleRequest(RequestHandlerBean.java:28
4)
 at
RequestHandler_StatelessSessionBeanWrapper0.handleRequest(RequestHandler_Sta
telessSessionBeanWrapper0.java:39)
 at knut.servlet.RequestServlet.doPost(RequestServlet.java:244)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at com.evermind.server.http.d3.so(JAX)
 at com.evermind.server.http.d3.sm(JAX)
 at com.evermind.server.http.ef.su(JAX)
 at com.evermind.server.http.ef.dn(JAX)
 at com.evermind.util.f.run(JAX)

The problem seems to occur more often if another transaction has just
finished. The database log doesn't show anything unusually, only that the
transaction was rolled back.

Does anyone know what the requirements (by Orion) are for committing a
transaction successfully.

I use:
Red Hat Linux 6.2
Sun JVM 1.3
Orion 1.4.0
Postgesql 7.0.2

/Tommy


Reply via email to