You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "lasitha ranatunga (JIRA)" <de...@tapestry.apache.org> on 2007/10/22 14:59:51 UTC

[jira] Created: (TAPESTRY-1850) Hibernate Sessions are not being closed on thread cleanup

Hibernate Sessions are not being closed on thread cleanup
---------------------------------------------------------

                 Key: TAPESTRY-1850
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1850
             Project: Tapestry
          Issue Type: Bug
          Components: tapestry-hibernate
    Affects Versions: 5.0.5
         Environment: hibernate 3.2.5.ga, hibernate-annotations 3.3.0.ga
            Reporter: lasitha ranatunga


Hibernate doesn't like persistent collections to be associated with multiple open Sessions - throwing the notorious 'Illegal attempt ...' exception if it happens across any.  

I've run into these exceptions with the tapestry-hibernate integration and believe the problem is caused by the HibernateSessionManagerImpl not closing Sessions on thread cleanup.

Please see this mailing list thread for further discussion:
http://thread.gmane.org/gmane.comp.java.tapestry.user/53095

(I haven't upgraded to 5.0.6 yet, but didn't see anything in its source that would fix this, so i'm pretty sure it's still a problem).


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-1850) Hibernate Sessions are not being closed at the end of the request

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-1850.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.10

> Hibernate Sessions are not being closed at the end of the request
> -----------------------------------------------------------------
>
>                 Key: TAPESTRY-1850
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1850
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.5
>         Environment: hibernate 3.2.5.ga, hibernate-annotations 3.3.0.ga
>            Reporter: lasitha ranatunga
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.10
>
>
> Hibernate doesn't like persistent collections to be associated with multiple open Sessions - throwing the notorious 'Illegal attempt ...' exception if it happens across any.  
> I've run into these exceptions with the tapestry-hibernate integration and believe the problem is caused by the HibernateSessionManagerImpl not closing Sessions on thread cleanup.
> Please see this mailing list thread for further discussion:
> http://thread.gmane.org/gmane.comp.java.tapestry.user/53095
> (I haven't upgraded to 5.0.6 yet, but didn't see anything in its source that would fix this, so i'm pretty sure it's still a problem).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAPESTRY-1850) Hibernate Sessions are not being closed on thread cleanup

Posted by "lasitha ranatunga (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536673 ] 

lasitha ranatunga commented on TAPESTRY-1850:
---------------------------------------------


This is a fairly easy problem to recreate, but i'm not sure how to go about creating a test case for it.  Am i correct in assuming a unit test is not useful here?  I see there's an 'app0' that i might work with - is this the way to go?

> Hibernate Sessions are not being closed on thread cleanup
> ---------------------------------------------------------
>
>                 Key: TAPESTRY-1850
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1850
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.5
>         Environment: hibernate 3.2.5.ga, hibernate-annotations 3.3.0.ga
>            Reporter: lasitha ranatunga
>
> Hibernate doesn't like persistent collections to be associated with multiple open Sessions - throwing the notorious 'Illegal attempt ...' exception if it happens across any.  
> I've run into these exceptions with the tapestry-hibernate integration and believe the problem is caused by the HibernateSessionManagerImpl not closing Sessions on thread cleanup.
> Please see this mailing list thread for further discussion:
> http://thread.gmane.org/gmane.comp.java.tapestry.user/53095
> (I haven't upgraded to 5.0.6 yet, but didn't see anything in its source that would fix this, so i'm pretty sure it's still a problem).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-1850) Hibernate Sessions are not being closed on thread cleanup

Posted by "Andy Huhn (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Huhn updated TAPESTRY-1850:
--------------------------------

    Comment: was deleted

> Hibernate Sessions are not being closed on thread cleanup
> ---------------------------------------------------------
>
>                 Key: TAPESTRY-1850
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1850
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.5
>         Environment: hibernate 3.2.5.ga, hibernate-annotations 3.3.0.ga
>            Reporter: lasitha ranatunga
>
> Hibernate doesn't like persistent collections to be associated with multiple open Sessions - throwing the notorious 'Illegal attempt ...' exception if it happens across any.  
> I've run into these exceptions with the tapestry-hibernate integration and believe the problem is caused by the HibernateSessionManagerImpl not closing Sessions on thread cleanup.
> Please see this mailing list thread for further discussion:
> http://thread.gmane.org/gmane.comp.java.tapestry.user/53095
> (I haven't upgraded to 5.0.6 yet, but didn't see anything in its source that would fix this, so i'm pretty sure it's still a problem).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Assigned: (TAPESTRY-1850) Hibernate Sessions are not being closed on thread cleanup

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAPESTRY-1850:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> Hibernate Sessions are not being closed on thread cleanup
> ---------------------------------------------------------
>
>                 Key: TAPESTRY-1850
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1850
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.5
>         Environment: hibernate 3.2.5.ga, hibernate-annotations 3.3.0.ga
>            Reporter: lasitha ranatunga
>            Assignee: Howard M. Lewis Ship
>
> Hibernate doesn't like persistent collections to be associated with multiple open Sessions - throwing the notorious 'Illegal attempt ...' exception if it happens across any.  
> I've run into these exceptions with the tapestry-hibernate integration and believe the problem is caused by the HibernateSessionManagerImpl not closing Sessions on thread cleanup.
> Please see this mailing list thread for further discussion:
> http://thread.gmane.org/gmane.comp.java.tapestry.user/53095
> (I haven't upgraded to 5.0.6 yet, but didn't see anything in its source that would fix this, so i'm pretty sure it's still a problem).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-1850) Hibernate Sessions are not being closed at the end of the request

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAPESTRY-1850:
-------------------------------------------

    Summary: Hibernate Sessions are not being closed at the end of the request  (was: Hibernate Sessions are not being closed on thread cleanup)

> Hibernate Sessions are not being closed at the end of the request
> -----------------------------------------------------------------
>
>                 Key: TAPESTRY-1850
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1850
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.5
>         Environment: hibernate 3.2.5.ga, hibernate-annotations 3.3.0.ga
>            Reporter: lasitha ranatunga
>            Assignee: Howard M. Lewis Ship
>
> Hibernate doesn't like persistent collections to be associated with multiple open Sessions - throwing the notorious 'Illegal attempt ...' exception if it happens across any.  
> I've run into these exceptions with the tapestry-hibernate integration and believe the problem is caused by the HibernateSessionManagerImpl not closing Sessions on thread cleanup.
> Please see this mailing list thread for further discussion:
> http://thread.gmane.org/gmane.comp.java.tapestry.user/53095
> (I haven't upgraded to 5.0.6 yet, but didn't see anything in its source that would fix this, so i'm pretty sure it's still a problem).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAPESTRY-1850) Hibernate Sessions are not being closed on thread cleanup

Posted by "Andy Huhn (JIRA)" <de...@tapestry.apache.org>.
    [ https://issues.apache.org/jira/browse/TAPESTRY-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538158 ] 

Andy Huhn commented on TAPESTRY-1850:
-------------------------------------

I believe I am bumping up against this issue, also.  Let me know if you want to see the code that's making this issue show up.  I am using 5.0.6.

As always, thanks for your work,
Andy

> Hibernate Sessions are not being closed on thread cleanup
> ---------------------------------------------------------
>
>                 Key: TAPESTRY-1850
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1850
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.5
>         Environment: hibernate 3.2.5.ga, hibernate-annotations 3.3.0.ga
>            Reporter: lasitha ranatunga
>
> Hibernate doesn't like persistent collections to be associated with multiple open Sessions - throwing the notorious 'Illegal attempt ...' exception if it happens across any.  
> I've run into these exceptions with the tapestry-hibernate integration and believe the problem is caused by the HibernateSessionManagerImpl not closing Sessions on thread cleanup.
> Please see this mailing list thread for further discussion:
> http://thread.gmane.org/gmane.comp.java.tapestry.user/53095
> (I haven't upgraded to 5.0.6 yet, but didn't see anything in its source that would fix this, so i'm pretty sure it's still a problem).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org