Bug 1265723

Summary: BPM cluster does not respect uberfire configuration system properties
Product: [Retired] JBoss BPMS Platform 6 Reporter: Radovan Synek <rsynek>
Component: Business CentralAssignee: Alexandre Porcelli <porcelli>
Status: CLOSED EOL QA Contact: Radovan Synek <rsynek>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.2.0CC: kverlaen, rrajasek
Target Milestone: ER5Keywords: TestBlocker
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:11:54 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:
Bug Depends On: 1257301, 1269508    
Bug Blocks:    
Attachments:
Description Flags
domain.xml
none
hosts.xml none

Description Radovan Synek 2015-09-23 14:37:34 UTC
Created attachment 1076249 [details]
domain.xml

Running a BPM cluster on EAP 6.4.3 domain containing two nodes on a single machine, cluster fails to start due to address already in use /127.0.0.1:9418. Both nodes have been configured to bind to a different port using system properties org.uberfire.nio.git.daemon.port and org.uberfire.nio.git.daemon.hostport to values 9418 resp. 9419.

.niogit location has been specified by org.uberfire.nio.git.dir to point to different directories for each server node, but the .niogit directory has been created in its default location. This applies to other directories like .index as well, which resulted in some runs in org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out (probably happened before starting git daemon)

Scanning for open ports revealed that only default ports (8001, 9418) were opened, in contrast with configured values. See the attached configuration files.

Comment 1 Radovan Synek 2015-09-23 14:38:07 UTC
Created attachment 1076250 [details]
hosts.xml

Comment 2 Radovan Synek 2015-09-23 15:18:28 UTC
tested version: BPM Suite 6.2.0.ER3

Comment 3 Thomas Hauser 2015-10-02 16:21:32 UTC
One comment I have is that this problem does NOT seem to occur on Windows boxes. There are no port collisions, but there is an NPE relating to uberfire sometimes. I can post logs if that will help.

Comment 6 Radovan Synek 2015-11-04 12:49:56 UTC
Verified with BPMS-6.2.0.ER5