[infinispan-issues] [JBoss JIRA] Created: (ISPN-700) Query integration fails to stop integrated Hibernate Search

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Tue Oct 12 07:44:03 EDT 2010


Query integration fails to stop integrated Hibernate Search
-----------------------------------------------------------

                 Key: ISPN-700
                 URL: https://jira.jboss.org/browse/ISPN-700
             Project: Infinispan
          Issue Type: Sub-task
          Components: Querying
    Affects Versions: 4.2.0.ALPHA2, 4.1.0.Final, 4.0.0.Final
            Reporter: Sanne Grinovero
            Assignee: Navin Surtani
             Fix For: 4.2.0.BETA1, 4.2.0.Final, 5.0.0.BETA1, 5.0.0.Final


For a test application, see the attachment of parent issue (ISPN-697).
Hibernate Search needs to be stopped or background threads will prevent the JVM from closing properly.

In the integration with Hibernate, org.hibernate.search.event.FullTextIndexEventListener is invoked during SessionFactory close as it implements org.hibernate.event.Destructible
The listener then calls into org.hibernate.search.impl.ImmutableSearchFactory.close() which actually stops all additional threads.

It seems that org.infinispan.query.impl.LifecycleManager should be completed; it's work was blocked by HSEARCH-397 but this was solved, so the Search/Infinispan integration should be updated.

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

        


More information about the infinispan-issues mailing list