Hi, Frank Morton wrote: > All works fine until the servlet sits idle for a long time (that is, > overnight). Next time I try to invoke a finder method, I get the > HeuristicRollbackException exception outlined below. Hit the > reload button on the web browser, and things go back to > normal. I see reports of the on the user forums, but no resolutions. > > Ideas anyone?
Sounds to me like a transaction controlled by your servlet is active while the servlet is idle. In order not to keep transactional locks forever, one or more of your XA resources then decide to do a heuristic rollback. You should try to keep transactions as short as possible, and _never_ let a transaction be active while waiting for user input. If unsure about when your transactions start and end, you can change the flag trace in org.jboss.tm.TxCapsule to true and recompile. This will make the TM spit out tons of debug information about what goes on with transactions. Best Regards, Ole Husgaard. _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
