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

If --domain-config is used in domain.sh, changes to the configuration using the web console are not correctly persisted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR1
    • 7.0.1.Final
    • Domain Management
    • None
    • Hide

      Use the --domain-config option to start AS7 with a domain.xml file located somewhere else.
      Deploy a file using the web console.
      The deployment will be persisted in $JBOSS_HOME/domain/configuration/domain.xml instead of the domain.xml specified in the --domain-config option.

      Show
      Use the --domain-config option to start AS7 with a domain.xml file located somewhere else. Deploy a file using the web console. The deployment will be persisted in $JBOSS_HOME/domain/configuration/domain.xml instead of the domain.xml specified in the --domain-config option.

      When AS7 is started using $JBOSS_HOME/bin/domain.sh --domain-config=/etc/as7/domain.xml, all changes made through the web console are persisted in $JBOSS_HOME/domain/configuration/domain.xml.
      That means for example that deployments don't survive server restarts. Also trying to add the same deployment again does not seem to work, probably because the files already exist in the $JBOSS_HOME/domain/content directory.

              kkhan1@redhat.com Kabir Khan
              georgesberscheid_jira Georges Berscheid (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: