[hibernate-issues] [Hibernate-JIRA] Issue Comment Edited: (HSEARCH-540) JTA transaction commit causes AssertionFailure: Access a Sealed WorkQueue which has not been sealed

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Jul 14 14:43:13 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37793#action_37793 ] 

Emmanuel Bernard edited comment on HSEARCH-540 at 7/14/10 1:42 PM:
-------------------------------------------------------------------

Hi Tom, 
Thanks for the h2 test.
I've fixed the subsequent issue and I run your test on my side.
Can you double check and run it in your environment?

I've pushed a new snapshot at https://repository.jboss.org/nexus/content/repositories/snapshots//org/hibernate/hibernate-search/3.3.0-SNAPSHOT/
There is a small twist, we have upgraded HSearch to depend on Hibernate Core 3.6.0-SNAPSHOT. In your small test the migration was trivial (jsut the deps version changed).

Let me know if you have any issue. If that works for you, we will backport the bug fix to HSearch 3.2.x. That was a nasty bug.


      was (Author: emmanuel):
    Hi Tom, 
Tanks for the h2 test.
I've fixed the subsequent issue and I run your test on my side.
Can you double check and run it in your environment?

I've pushed a new snapshot at https://repository.jboss.org/nexus/content/repositories/snapshots//org/hibernate/hibernate-search/3.3.0-SNAPSHOT/
There is a small twist, we have upgraded HSearch to depend on Hibernate Core 3.6.0-SNAPSHOT. In your small test the migration was trivial (jsut the deps version changed).

Let me know if you have any issue. If that works for you, we will backport the bug fix to HSearch 3.2.x. That was a nasty bug.

  
> JTA transaction commit causes AssertionFailure: Access a Sealed WorkQueue which has not been sealed
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HSEARCH-540
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-540
>             Project: Hibernate Search
>          Issue Type: Bug
>    Affects Versions: 3.2.0.Final
>         Environment: Hibernate 3.5.2-Final, Spring 3.0.2.RELEASE, MySQL 5.1.34, Atomikos 3.5.13 
>            Reporter: Tom Waterhouse
>         Attachments: hibernate-search-jta-bug.log, jta-btm-h2.zip, jta-btm-hibernate.zip, jta-btm.zip
>
>
> When we switched our application to use JTA a number of exceptions are generated on transaction commit. Spring is used by the application; the transactions are managed via the Spring class JtaTransactionManager.  The Web app and Hibernate Search worked perfectly using JpaTransactionManager.
> Exception examples:
> [2010-06-04 09:04:34.391, 49026]ERROR[http-8080-1](AssertionFailure.java:46) - an assertion failure occured (this may indicate a bug in Hibernate)
> org.hibernate.annotations.common.AssertionFailure: Access a Sealed WorkQueue which has not been sealed
> [2010-06-04 09:04:34.395, 49030]ERROR[http-8080-1](AssertionFailure.java:50) - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
> org.hibernate.HibernateException: Error while indexing in Hibernate Search (ater transaction completion)
> The full log file has been attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list