Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5516

If JBOSS_BASE_DIR variable is empty -Djboss.server.base.dir is not added in wildfly-init-redhat.sh and wildfly-init-debian.sh scripts.

XMLWordPrintable

      If JBOSS_BASE_DIR variable is empty, then it is composed by

      JBOSS_BASE_DIR="$JBOSS_HOME/$JBOSS_MODE"
      

      but not added to JBOSS_OPTS.

      if [ -z "$JBOSS_BASE_DIR" ]; then
               JBOSS_BASE_DIR="$JBOSS_HOME/$JBOSS_MODE"
      else
               JBOSS_OPTS="$JBOSS_OPTS -Djboss.server.base.dir=$JBOSS_BASE_DIR"
      fi
      

      https://github.com/wildfly/wildfly-core/blob/1efe9fe93b5977dc5ef2d24ce75c5dd4871c42a1/core-feature-pack/common/src/main/resources/content/docs/contrib/scripts/init.d/wildfly-init-debian.sh#L98

              lvydra Lukas Vydra
              lvydra Lukas Vydra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: