When creating the initial configuration use relative path names for the
repository configuration and home
---------------------------------------------------------------------------------------------------------
Key: SLING-2013
URL: https://issues.apache.org/jira/browse/SLING-2013
Project: Sling
Issue Type: Improvement
Components: JCR
Affects Versions: JCR Jackrabbit Server 2.1.0
Reporter: Felix Meschberger
Fix For: JCR Jackrabbit Server 2.1.2
The Jackrabbit server creates a configuration on initial startup if none is
available from the Configuration Admin service. This configuration will contain
absolute path names to the repository configuration file as well as the
repository home directory. This makes it hard to relocate the Sling Home folder
because the configuration will still point to the old location.
Instead the default configuration (unless overwritten by some framework
property) should use relative path names to be resolved against sling.home once
the repository is started/created.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira