Bug 1013939

Summary: Default database configuration uses absolute paths
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Jiri Pechanec <jpechane>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Pechanec <jpechane>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: jsedlace, 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:

Description Jiri Pechanec 2013-10-01 05:34:51 UTC
When installing ER4 from install then a user can configure a datasource to be used by some of the components. The problem is that the default value that relates to h2 used absolute paths for directory locations where the data files will be stored. Those paths point to 'data' dir in the server. So when the directory where server is located is renamed, then the paths are no longer valid.

The configuration should use jboss.server.data.dir by default to point to data dir instead of the absolute path.

Comment 1 Thomas Hauser 2013-10-16 15:15:38 UTC
Fixed for ER6 or later builds.

Comment 2 Jiri Pechanec 2013-12-13 05:39:59 UTC
Verified in ER7