Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2122

Relative-to configuration for sub-systems using directoryType in xsd file.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 7.0.2.Final
    • JSR88
    • None
    • Hide

      Add an element to standalone.xml to re-locate the files used in transactions (or messaging journal).
      Start the server.
      Check the directory for the initialised directory structure in the expected location.

      Show
      Add an element to standalone.xml to re-locate the files used in transactions (or messaging journal). Start the server. Check the directory for the initialised directory structure in the expected location.
    • Hide

      None.

      Show
      None.

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jwhiting@redhat.com Jeremy Whiting
              jwhiting@redhat.com Jeremy Whiting
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: