java.nio.channels.OverlappingFileLockException during business-central redeployment in BRMS/BPMS
Issue
- I get java.nio.channels.OverlappingFileLockException during business-central.war startup (actually, redeployment)
[11/15/16 14:41:37:875 EST] 000000ec ManagedBean E ManagedBean error An error occurred while executing [@PostConstruct.]
java.nio.channels.OverlappingFileLockException
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:268)
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:165)
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1110)
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1166)
at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:217)
at org.apache.lucene.store.Lock.obtain(Lock.java:72)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:602)
at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryLuceneIndex.<init>(DirectoryLuceneIndex.java:50)
at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryType$2.newIndex(DirectoryType.java:63)
at org.uberfire.ext.metadata.backend.lucene.index.directory.DirectoryFactory.<init>(DirectoryFactory.java:54)
at org.uberfire.ext.metadata.backend.lucene.LuceneConfigBuilder.build(LuceneConfigBuilder.java:110)
at org.kie.workbench.backend.LuceneConfigProducer.setup(LuceneConfigProducer.java:53)
...
Environment
- Red Hat JBoss BPM Suite
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.