Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-3945

Project Indexing error for indexer when restart business central in wildfly

XMLWordPrintable

    • Hide

      1. create one project and some asserts in business central, and save.
      2. stop wildfly server
      3. start wildfly server
      4. enter in projects page of business central
      5. then server.log throw errors and the project assert page shows nothing:
      the Test project assert view show :

      Indexing has not finished
      Please wait while the project content is being indexed
      
      Show
      1. create one project and some asserts in business central, and save. 2. stop wildfly server 3. start wildfly server 4. enter in projects page of business central 5. then server.log throw errors and the project assert page shows nothing: the Test project assert view show : Indexing has not finished Please wait while the project content is being indexed
    • NEW
    • NEW

      server.log as follows:

      2019-04-29 11:14:03,802 INFO  [org.uberfire.ext.metadata.io.BatchIndex] (Thread-183) Starting indexing of MySpace/Test\master ...
      2019-04-29 11:14:03,802 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-183) Preparing 23 indexers to analyze indexing jobs for cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,803 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-186) Completed indexing 0 events for indexer [id=org.jbpm.designer.server.indexing.BPMN2FileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,803 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-187) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.scorecard.backend.server.indexing.GuidedScoreCardFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,804 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-188) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dtablexls.backend.server.indexing.DecisionTableXLSXFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,804 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-186) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.drltext.backend.server.indexing.DslrFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,805 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-189) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtree.backend.server.indexing.GuidedDecisionTreeFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,805 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-190) Completed indexing 0 events for indexer [id=org.kie.workbench.common.stunner.bpmn.backend.indexing.BpmnFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,805 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-191) Completed indexing 0 events for indexer [id=org.kie.workbench.common.stunner.cm.backend.indexing.CaseManagementFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,805 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-192) Completed indexing 0 events for indexer [id=org.kie.workbench.common.forms.editor.backend.indexing.FormDefinitionIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,806 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-197) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.rule.backend.server.indexing.GuidedRuleDslrFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,806 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-196) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.globals.backend.server.indexing.GlobalsFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,806 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-201) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dtablexls.backend.server.indexing.DecisionTableXLSFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,806 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-204) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.testscenario.backend.server.indexing.TestScenarioFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,806 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-194) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtable.backend.server.indexing.GuidedDecisionTableGraphFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,807 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-205) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtable.backend.server.indexing.GuidedDecisionTableFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,807 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-195) Completed indexing 0 events for indexer [id=org.optaplanner.workbench.screens.solver.backend.server.indexing.SolverFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,807 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-198) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dsltext.backend.server.indexing.DslFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,808 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-206) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,808 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-202) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.rule.backend.server.indexing.GuidedRuleDrlFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,809 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-203) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.enums.backend.server.indexing.EnumFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/Test\master]].
      2019-04-29 11:14:03,810 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-185) Indexing error for indexer [id=org.kie.workbench.common.LibraryAssetIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
      	at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
      	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
      	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
      	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
      	... 16 more
      
      2019-04-29 11:14:04,074 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-193) Indexing error for indexer [id=org.uberfire.ext.metadata.io.CoreIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
      	at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
      	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
      	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
      	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
      	... 16 more
      
      2019-04-29 11:14:04,328 INFO  [org.uberfire.ext.metadata.io.BatchIndex] (Thread-193) Starting indexing of MySpace/pingan-auto_article\master ...
      2019-04-29 11:14:04,328 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-193) Preparing 23 indexers to analyze indexing jobs for cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,330 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-206) Completed indexing 0 events for indexer [id=org.kie.workbench.common.LibraryAssetIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,330 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-195) Completed indexing 0 events for indexer [id=org.jbpm.designer.server.indexing.BPMN2FileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,330 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-201) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dtablexls.backend.server.indexing.DecisionTableXLSXFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,330 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-204) Completed indexing 0 events for indexer [id=org.kie.workbench.common.stunner.bpmn.backend.indexing.BpmnFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,330 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-205) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.scorecard.backend.server.indexing.GuidedScoreCardFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,330 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-194) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtree.backend.server.indexing.GuidedDecisionTreeFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,330 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-196) Completed indexing 0 events for indexer [id=org.kie.workbench.common.stunner.cm.backend.indexing.CaseManagementFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,331 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-197) Completed indexing 0 events for indexer [id=org.kie.workbench.common.forms.editor.backend.indexing.FormDefinitionIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,333 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-192) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtable.backend.server.indexing.GuidedDecisionTableGraphFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,333 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-188) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.rule.backend.server.indexing.GuidedRuleDslrFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,333 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-189) Completed indexing 0 events for indexer [id=org.optaplanner.workbench.screens.solver.backend.server.indexing.SolverFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,333 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-191) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.globals.backend.server.indexing.GlobalsFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,333 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-186) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dsltext.backend.server.indexing.DslFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,333 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-187) Completed indexing 0 events for indexer [id=org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,333 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-183) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.drltext.backend.server.indexing.DrlFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,333 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-206) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.enums.backend.server.indexing.EnumFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,334 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-207) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.dtablexls.backend.server.indexing.DecisionTableXLSFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,335 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-208) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.rule.backend.server.indexing.GuidedRuleDrlFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,335 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-211) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.template.server.indexing.GuidedRuleTemplateFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,336 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-212) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.drltext.backend.server.indexing.DslrFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,344 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-210) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.guided.dtable.backend.server.indexing.GuidedDecisionTableFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,344 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-209) Completed indexing 0 events for indexer [id=org.drools.workbench.screens.testscenario.backend.server.indexing.TestScenarioFileIndexer] in cluster [KClusterImpl [clusterId=MySpace/pingan-auto_article\master]].
      2019-04-29 11:14:04,604 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-190) Indexing error for indexer [id=org.uberfire.ext.metadata.io.CoreIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
      	at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
      	at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
      	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
      	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
      	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
      	... 16 more
      
      2019-04-29 11:14:04,608 ERROR [org.uberfire.ext.metadata.io.BatchIndex] (Thread-190) Index fails. [@MySpace/pingan-auto_article\master]: java.util.concurrent.CompletionException: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
      	at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	... 3 more
      Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\pingan-auto_article\master\write.lock
      	at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
      	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
      	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
      	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
      	... 16 more
      
      2019-04-29 11:14:05,146 INFO  [org.uberfire.ext.security.management.BackendUserSystemManager] (default task-4) Using the user management service named 'WildflyCLIUserManagementService'
      2019-04-29 11:14:06,299 INFO  [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (Thread-199) KieModule was added: MemoryKieModule[releaseId=com.myspace:Test:1.0.0-SNAPSHOT]
      2019-04-29 11:14:06,299 INFO  [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (Thread-200) KieModule was added: MemoryKieModule[releaseId=com.myspace:Test:1.0.0-SNAPSHOT]
      2019-04-29 11:14:06,545 WARN  [org.kie.server.common.KeyStoreHelperUtil] (Thread-122) Unable to load key store. Using password from configuration
      2019-04-29 11:14:06,759 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-199) Indexing error for indexer [id=org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
      	at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
      	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
      	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
      	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
      	... 16 more
      
      2019-04-29 11:14:07,006 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-200) Indexing error for indexer [id=org.drools.workbench.screens.drltext.backend.server.indexing.DrlFileIndexer]: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
      	at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
      	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
      	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
      	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
      	... 16 more
      
      2019-04-29 11:14:07,010 ERROR [org.uberfire.ext.metadata.io.BatchIndex] (Thread-200) Index fails. [@MySpace/Test\master]: java.util.concurrent.CompletionException: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.RuntimeException: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:56)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:74)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.newCluster(DirectoryFactory.java:122)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:66)
      	at org.uberfire.ext.metadata.backend.lucene.index.LuceneIndexManager.indexOf(LuceneIndexManager.java:42)
      	at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.index(LuceneIndexProvider.java:73)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doIndex(MetadataIndexEngine.java:157)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:136)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:256)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:239)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	... 3 more
      Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: D:\install_tools\wildfly-14.0.1.Final\bin\.index\MySpace\Test\master\write.lock
      	at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
      	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
      	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
      	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:800)
      	at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:52)
      	... 16 more
      

              eignatow Eder Ignatowicz
              pengyusong2012 Peng Yusong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: