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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.CR1
    • None
    • Domain Management
    • None
    • 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
    • Hide

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

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

      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/.

            jaikiran Jaikiran Pai (Inactive)
            mistysj Misty Stanley-Jones (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: