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

Incorrect JBOSS_HOME warning in vault.sh

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Done
    • 3.0.0.Alpha16
    • 3.0.0.Alpha23
    • Scripts
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: