Red Hat Bugzilla – Bug 977264
Business Central cannot be deployed on EAP6.1 in domain mode
Last modified: 2013-07-17 04:24:13 EDT
Created attachment 764474 [details]
server log from the first node
Having EAP 6.1 in a domain mode - single server group with two servers. When deploying Business Central via jboss-cli, the deployment fails and server log contains error "org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/rsynek/temp/clustering/jboss-eap-6-domain/.index/write.lock"
The file write.lock does not exist.
See the attached server log for the stacktrace. I am also attaching domain.xml and host.xml
Created attachment 764475 [details]
Created attachment 764476 [details]
this issue is seen because kie-wb application includes search capabilities that are based on Apache Lucene. When running in cluster mode the location of the index must be separated - meaning each server in the cluster must have dedicated location where the index will be stored. It can be configured with additional system property that must be set on application server (host) level:
value: absolute path where the index files should be stored (inside the folder there will be .index folder with all index files).
This is due to Lucene is currently not clustered and it's rebuild on every server instance based on VFS.
the configuration is similar to how VFS files (.niogit) are maintained within cluster - each server instance has dedicated location.
This solution (setting org.kie.kieora.index.dir property) works. Thanks Maciej!
=> Closing as not a bug.