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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.0.DR12
    • 7.0.3.GA
    • 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:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified