-
Bug
-
Resolution: Done
-
Major
-
7.0.2.Final
-
None
We have a simple setup where a web service is using a Dao to store data in a Database.
The Dao uses an injected persistence context. The dao is in turn injected into the webservice as a simple EJB.
This is a classic setup we have used extensively on JBoss AS 5.1.
However on JBoss 7.0.2.Final the hibernate session is closed on the second call to the web service.
I have created a simple maven project containing the problem. It uses the standard datasource from the standalone-preview configuration.
I will attach the project and server.log containing all relevant exceptions.