You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "wang (JIRA)" <ji...@apache.org> on 2012/06/01 04:09:22 UTC

[jira] [Updated] (LUCENE-4097) index was locked because of InterruptedException

     [ https://issues.apache.org/jira/browse/LUCENE-4097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wang updated LUCENE-4097:
-------------------------

          Component/s: core/index
    Affects Version/s: 3.1
    
> index was locked because of InterruptedException
> ------------------------------------------------
>
>                 Key: LUCENE-4097
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4097
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 3.1
>            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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org