Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8154

[GSS](7.0.z) Incorrect JBOSS_HOME warning in vault.sh

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.0.5.CR2, 7.0.5.GA
    • 7.0.3.GA
    • Scripts
    • None
    • EAP 7.0.5

    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
              rpelisse@redhat.com Romain Pelisse
              Jiří Bílek Jiří Bílek (Inactive)
              Jiří Bílek Jiří Bílek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: