Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-255

Tomcat-vault .sh script not working correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JWS 3.1.0 ER3
    • JWS 3.0.2 DR3
    • tomcat-vault
    • None
    • Workaround Exists
    • Hide

      Set JBOSS_HOME variable to folder where scripts are

      Show
      Set JBOSS_HOME variable to folder where scripts are
    • Hide

      Run tomcat-vault.sh script

      Show
      Run tomcat-vault.sh script

      One cannot run tomcat-vault.sh without manually setting JBOSS_HOME variable because of this line

      RESOLVED_JBOSS_HOME=`cd "$DIRNAME/.."; pwd`
      if [ "x$JBOSS_HOME" = "x" ]; then
          # get the full path (without any relative bits)
          JBOSS_HOME=$RESOLVED_JBOSS_HOME
      

      RESOLVED_JBOSS_HOME is set to parent directory of tomcat vault, which cause error when one try to run script

              weli@redhat.com Weinan Li
              bsikora Bogdan Sikora (Inactive)
              Bogdan Sikora Bogdan Sikora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: