| Summary: | Hardcoded H2 data location in FSW6 from installer - requires manual changes to avoid failures in cluster environments | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Martin Vecera <mvecera> |
| Component: | Installer | Assignee: | Thomas Hauser <thauser> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Vecera <mvecera> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.0.0 GA | CC: | jsedlace, psrna, soa-p-jira |
| Target Milestone: | ER7 | ||
| Target Release: | 6.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Cluster configurations are not a beta requirement - removed "Beta Blocker" The installer will be able to use ${jboss.server.data.dir} instead of the hardcoded path used previously in ER6 and later builds.
Verified in ER7 build. |
= Steps to reproduce = Note: I basically followed the instructions in quickstarts/switchyard/demos/cluster/README.md to start the server in cluster. cd ${EAP_HOME} cp -R standalone node1 cp -R standalone node2 bin/standalone.sh -Djboss.node.name=node1 -Djboss.server.base.dir=node1 --server-config=standalone-ha.xml bin/standalone.sh -Djboss.node.name=node2 -Djboss.server.base.dir=node2 -Djboss.socket.binding.port-offset=1000 --server-config=standalone-ha.xml The server complains that the database is already in use. The database is the default H2 installed through the installer. It seems that copying the standalone directory is not enough as the instances end up using the same database that is already locked. The file standalone-ha.xml contains the full path to the database. This should not be hard coded by the installer.