Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 977264

Summary: Business Central cannot be deployed on EAP6.1 in domain mode
Product: [Retired] JBoss BPMS Platform 6 Reporter: Radovan Synek <rsynek>
Component: DeploymentAssignee: Maciej Swiderski <mswiders>
Status: CLOSED NOTABUG QA Contact: Radovan Synek <rsynek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: lpetrovi, mswiders
Target Milestone: ---Keywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-17 08:24:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
server log from the first node
none
domain.xml config
none
host.xml config none

Description Radovan Synek 2013-06-24 07:53:00 UTC
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

Comment 1 Radovan Synek 2013-06-24 07:53:36 UTC
Created attachment 764475 [details]
domain.xml config

Comment 2 Radovan Synek 2013-06-24 07:54:08 UTC
Created attachment 764476 [details]
host.xml config

Comment 3 Maciej Swiderski 2013-07-15 11:56:30 UTC
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:

name: org.kie.kieora.index.dir
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.

Comment 4 Radovan Synek 2013-07-17 08:24:13 UTC
This solution (setting org.kie.kieora.index.dir property) works. Thanks Maciej!

=> Closing as not a bug.