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

If you start AS in standalone mode with a path to the standalone.xml or config file, the config file is zeroed out when AS exits

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0.CR1
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1, Start AS in standalone mode using a command like in the description
      2. Ctrl-C to stop the server.
      3. Observe your truncated config file.

      Show
      1, Start AS in standalone mode using a command like in the description 2. Ctrl-C to stop the server. 3. Observe your truncated config file.
    • Workaround Description:
      Hide

      Use relative paths instead of absolute paths, I guess.

      Show
      Use relative paths instead of absolute paths, I guess.

      Description

      If I start AS using the following command:
      ./bin/standalone.sh -server-config standalone/configuration/standalone.xml

      or
      ./bin/standalone.sh -server-config standalone/configuration/standalone_test.xml

      The AS starts up fine, assuming the config file exists. If I ctrl-C to exit the AS at that point, the referenced config file is truncated to 0 length.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jaikiran Jaikiran Pai
                Reporter:
                mistysj Misty Stanley-Jones
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: