Configure Tomcat Java options (Linux)
Once the Tomcat service is installed, you must configure Tomcat Java options for a Linux server.
The Tomcat service must be installed on the server that will host the Web Collaborative Reviewer (WCR) application.
To configure Tomcat Java options:
For the standalone install, create the setenv.sh file in
%TomcatDir%/bin/ and add the
#!/bin/sh JRE_HOME="/usr/java/jre1.6.xxx/bin/java" export JAVA_OPTS export JRE_HOMEImportant: The JAVA_OPTS= statement must appear on a single line.Note:
Make sure that:
- setenv.sh has the same owner and permissions as startup.sh.
- The JRE_HOME statement specifies the path to the Java installation on your machine.
- Save and close setenv.sh.
- For the service install, edit the tomcat6.conf file located in %TomcatDir%/conf/.
Search for the line beginning with JAVA_OPTS= and merge the
current parameters with the ones shown below.
- Restart Tomcat.