I am using Jboss 4.0 with Hibernate 2.7.
In my application I have three stateless session ejb's configured and everything works fine except .. when one of my stateless session ejb runs a query which for some reasons takes long time (8 mins or so). But then I get the following error.
16:15:37,328 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=CHI-MALUA/19, BranchQual=, localId=19] timed out. status=STATUS_ACTIVE
After this error ... I the server kind of fails and I get hibernate error
13:23:01,218 INFO [STDOUT] net.sf.hibernate.TransactionException: could not register synchronization with JTA TransactionManager
Can anybody point to me for some directions as I am trying to solve this problem and explored at all possibilites for couple of days.