Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-9102

setenv.sh not compatible with Solaris /bin/sh (uses bash syntax)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 3.4.3
    • Installation
    • Solaris

      When JIRA 3.4.3 Standalone is started on Solaris, it prints:

      ./catalina.sh: JAVA_OPTS=  -Xms128m -Xmx256m -Djava.awt.headless=true :
      is not an identifier
      

      This is because in bin/setenv.sh JIRA uses the bash syntax for setting a variable, which isn't compatible with vanilla /bin/sh:

      export JAVA_OPTS=" $JAVA_OPTS -Xms128m -Xmx256m -Djava.awt.headless=true "

      To fix, change the line to this:

      JAVA_OPTS=" $JAVA_OPTS -Xms128m -Xmx256m -Djava.awt.headless=true "
      export JAVA_OPTS
      

              Unassigned Unassigned
              7ee5c68a815f Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: