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

Incorrect JBOSS_HOME warning in vault.sh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.0.0.Alpha23
    • 3.0.0.Alpha16
    • Scripts
    • None

      vault.sh has an incorrect check to make sure JBOSS_HOME is set correctly.

      SANITIZED_JBOSS_HOME=`cd "$JBOSS_HOME/.."; pwd`
      if [ "$RESOLVED_JBOSS" != "$SANITIZED_JBOSS_HOME" ]; then

      The check will always fail because of the incorrect "/..", which should be removed.

      The incorrect value is only used for printing the "WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur." log, and appears to have been around since at least EAP 6.0.

              rpelisse@redhat.com Romain Pelisse
              rhn-support-dereed Dennis Reed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: