Bug 1018909 - Hardcoded H2 data location in FSW6 from installer - requires manual changes to avoid failures in cluster environments
Summary: Hardcoded H2 data location in FSW6 from installer - requires manual changes t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Installer
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ER7
: 6.0.0
Assignee: Thomas Hauser
QA Contact: Martin Vecera
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-14 16:40 UTC by Martin Vecera
Modified: 2014-02-06 15:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Martin Vecera 2013-10-14 16:40:19 UTC
= 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.

Comment 1 Len DiMaggio 2013-10-15 15:25:05 UTC
Cluster configurations are not a beta requirement - removed "Beta Blocker"

Comment 2 Thomas Hauser 2013-10-16 14:42:39 UTC
The installer will be able to use ${jboss.server.data.dir} instead of the hardcoded path used previously in ER6 and later builds.

Comment 3 Pavol Srna 2013-12-16 15:31:06 UTC
Verified in ER7 build.


Note You need to log in before you can comment on or make changes to this bug.