Hi all,
I'm using JBoss 4.0.4.GA with integrated hibernate 3.2.0.cr2
DAO is called by the web client through stateless session beans. Their transaction type is "Requires".
When doing a stress test by clicking on 3 links in the client which all do relatively big search in database I get an "session is closed" exception. I click on each link before the other finishes. The transaction timeout is default but the execution does not passes this time (I see no warning suggestion that the transaction has timed-out))
The sessions are created through getCurrentSession()
If I only change the hibernate version to 3.1.0 I have no exception and everything runs fine.
Trying with 3.1.3 I have the same error.
12:48:55,625 ERROR [DataManagerImpl] org.hibernate.SessionException: Session is closed!
at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49)
at org.hibernate.impl.SessionImpl.setFlushMode(SessionImpl.java:1279)
Thanks
|