[
https://issues.jboss.org/browse/AS7-2122?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry resolved AS7-2122.
-----------------------------------
Resolution: Rejected
You cannot set up a path using a system property. You need to add a <path> element
in standalone.xml, domain.xml or host.xml.
Relative-to configuration for sub-systems using directoryType in xsd
file.
--------------------------------------------------------------------------
Key: AS7-2122
URL:
https://issues.jboss.org/browse/AS7-2122
Project: Application Server 7
Issue Type: Bug
Components: JSR-88
Affects Versions: 7.0.2.Final
Environment: Linux running OpenJDK
Reporter: Jeremy Whiting
Assignee: Jeremy Whiting
Priority: Minor
Adding the relative-to property to transactions or messaging sub systems does not
re-locate the files to the expected location.
Adding this entry to the transactions sub system
<object-store relative-to="tx-dir" path="tx-object-store"/>
and this property defined in the standalone.conf
-Djboss.server.path.tx-dir=/tmp
I would expect the files to be created here:
/tmp/tx-object-store
but they don't. Instead the system fails to start and shows this message.
New missing/unsatisfied dependencies:
service jboss.server.path.tx-dir (missing)
I have also tried running the server with this property. Instead of creating the files
in /tmp they are created in a subdirectory of <as7-home>/standalone/data/tmp which
ignores the definition of an absolute location on the file system.
-Dtx-dir=/tmp
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira