wang created LUCENE-4097:
----------------------------

             Summary: index was locked because of InterruptedException
                 Key: LUCENE-4097
                 URL: https://issues.apache.org/jira/browse/LUCENE-4097
             Project: Lucene - Java
          Issue Type: Bug
            Reporter: wang


the index was locked, because of InterruptedException,and i could do nothing 
but restart tomcat,
how could i avoid this happen again?
thanks

this is stacktrace:
org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException
        at org.apache.lucene.index.IndexWriter.doWait(IndexWriter.java:4118)
        at 
org.apache.lucene.index.IndexWriter.waitForMerges(IndexWriter.java:2836)
        at 
org.apache.lucene.index.IndexWriter.finishMerges(IndexWriter.java:2821)
        at 
org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1847)
        at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1800)
        at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1764)
        at 
org.opencms.search.CmsSearchManager.updateIndexIncremental(CmsSearchManager.java:2262)
        at 
org.opencms.search.CmsSearchManager.updateIndexOffline(CmsSearchManager.java:2306)
        at 
org.opencms.search.CmsSearchManager$CmsSearchOfflineIndexThread.run(CmsSearchManager.java:327)
Caused by: java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at org.apache.lucene.index.IndexWriter.doWait(IndexWriter.java:4116)
        ... 8 more

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to