The startup scripts for AIX, HPUX and Solaris are not packaged with SonarQube for licensing reasons. You must download the Java Service Wrapper release specific to your platform.

<install_directory> (below) refers to the path to the directory where the SonarQube distribution has been unzipped.

  1. Copy $JSW/lib/libwrapper.so to <install_directory>/bin/<platform>/lib
  2. Copy $JSW/bin/wrapper to <install_directory>/bin/<platform>
  3. Copy $JSW/bin/demoapp to <install_directory>/bin/<platform>. Rename it "sonar" (or "sonar.sh"), edit and set the variables APP_NAME and APP_LONG_NAME to "sonar", WRAPPER_CONF to "../../conf/wrapper.conf"
  4. Replace <install_directory>/lib/wrapper-3.2.3.jar by $JSW/lib/wrapper.jar
  5. The script <install_directory>/bin/<platform>/sonar is ready to start and stop the standalone server

 

Due to the following JRuby issue: https://jira.codehaus.org/browse/JRUBY-6494, the following line has to be added in SONARQUBE_HOME/conf/wrapper.conf:

wrapper.java.additional.3=-Djruby.native.enabled=false