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

Tomcat-vault problem on solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • JWS 3.0.2 CR2
    • JWS 3.0.2 DR2
    • None
    • None

      Script postinstall isn`t working on Solaris. User have to set us JBOSS_HOME variable manually in tomcat-vault.sh script.

      "sed -i" in postinstall inst working on Solaris.

      postinstall shound not used "-i"
      should look like this

      #!/bin/sh

      sed "0,/JBOSS_HOME=.*/

      {s||JBOSS_HOME=$PWD|}

      " tomcat-vault.sh > tomcat-vault.sh.tmp && mv tomcat-vault.sh.tmp tomcat-vault.sh
      sed "0,/JBOSS_HOME=.*/

      {s||JBOSS_MODULEPATH=$PWD/modules|}

      " tomcat-vault.sh > tomcat-vault.sh.tmp && mv tomcat-vault.sh.tmp tomcat-vault.sh

              rhn-engineering-jclere Jean-Frederic Clere
              bsikora Bogdan Sikora (Inactive)
              Bogdan Sikora Bogdan Sikora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: