[jboss-jira] [JBoss JIRA] (AS7-2122) Relative-to configuration for sub-systems using directoryType in xsd file.

Jeremy Whiting (Created) (JIRA) jira-events at lists.jboss.org
Mon Oct 17 05:09:45 EDT 2011


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: Deployment
    Affects Versions: 7.0.2.Final
         Environment: Linux running OpenJDK
            Reporter: Jeremy Whiting
            Assignee: Thomas Diesler
            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

        


More information about the jboss-jira mailing list