Ensure data directory is used
-----------------------------
Key: NXP-6722
URL: https://jira.nuxeo.com/browse/NXP-6722
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Affects Versions: 5.4.1
Reporter: Julien Carsique
Assignee: Julien Carsique
Priority: Major
Fix For: 5.4.2
There's some inconstancy in Environment class versus home and data directories.
The following changeset is overriding the System property nuxeo.home.dir:
nuxeo-runtime julien$ hg log -r 854
changeset: 854:45ab45e3b72e
date: Wed Oct 06 20:36:51 2010 +0200
summary: NXP-5750 - exposing environment properties as system properties
Because of:
Properties sysprops = System.getProperties();
sysprops.setProperty(NUXEO_HOME_DIR, home.getAbsolutePath());
Involved data seem not to be critical (will be regenerated if missing).
The culprit changeset changed behavior applied by the following changeset
(there was no release between both):
changeset: 784:db1ce55c994e
branch: 1.7
date: Fri Aug 06 18:22:43 2010 +0200
summary: NXP-5370 - Tomcat distribution must use nuxeo.data.dir (including
for binaries); NXP-5460 - JBoss distribution should use nuxeo.data.dir (like
Tomcat) instead of jboss.server.data.dir
We must check data management after upgrade.
JBoss:
nuxeo-dm-5.4.2-SNAPSHOT-jboss $ ls data/
binaries contribs derby h2 packages resources themes
nuxeo-dm-5.4.2-SNAPSHOT-jboss $ ls server/default/data/
NXRuntime hypersonic jnp-service.url tx-object-store wsdl xmbean-attrs
nuxeo-dm-5.4.2-SNAPSHOT-jboss $ ls server/default/data/NXRuntime/
data repos schemas web
Tomcat:
nuxeo-dm-5.4.2-SNAPSHOT-tomcat $ ls data/
binaries contribs derby h2 packages resources themes
nuxeo-dm-5.4.2-SNAPSHOT-tomcat $ ls nxserver/
data repos schemas web
nuxeo-dm-5.4.2-SNAPSHOT-tomcat $ ls nxserver/data/
bundles.ids
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets