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

domain.sh -domain-config parameter cannot accept an absolute path

    Details

    • Steps to Reproduce:
      Hide

      1. Copy domain.xml to /tmp/domain_test.xml
      2. Run domain.sh -domain-config /tmp/domain_test.xml
      3. Watch failure happen

      Show
      1. Copy domain.xml to /tmp/domain_test.xml 2. Run domain.sh -domain-config /tmp/domain_test.xml 3. Watch failure happen
    • Workaround Description:
      Hide

      Copy the config file into JBOSS_HOME/domain/configuration/.

      Show
      Copy the config file into JBOSS_HOME/domain/configuration/.

      Description

      The -domain-config paramter of domain.sh command can only accept a filename, not an absolute or relative path. This means that you have to copy your alternate config file into JBOSS_HOME/domain/configuration/ before using it. This behavior is inconsistent with the -server-config option of standalone.sh, which can take either an absolute path, relative path, or if just given a filename, assumes the file is in standalone/configuration/.

        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: