[jboss-jira] [JBoss JIRA] (AS7-2433) Hibernate session is getting closed during JPA transaction

Scott Marlow (Commented) (JIRA) jira-events at lists.jboss.org
Fri Jan 6 22:52:09 EST 2012


    [ https://issues.jboss.org/browse/AS7-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654458#comment-12654458 ] 

Scott Marlow commented on AS7-2433:
-----------------------------------

Hi Vitan, I definitely would port it to 7.0.2 if it didn't already get released.  In the future, its better to ask questions [here|http://community.jboss.org/en/jbossas7] (so others can join in the discussion).  Just click the {color:blue}Start a discussion{color} action.


                
> Hibernate session is getting closed during JPA transaction
> ----------------------------------------------------------
>
>                 Key: AS7-2433
>                 URL: https://issues.jboss.org/browse/AS7-2433
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.0.2.Final
>         Environment: Windows 7
>            Reporter: Lasse Wallentin
>            Assignee: Scott Marlow
>             Fix For: 7.1.0.Beta1
>
>         Attachments: server.log, Session Closed Problem.zip
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list