Task B: Configure Server Settings
If you need to make changes to any of the following, make the changes to the appropriate config file or environment variable, as required:
Java Settings
You must set the JAVA_HOME environment variable to the root directory of your Java installation.
Windows
To set the JAVA_HOME environment variable:
| 1. | Right click My Computer and select Properties. |
| 2. | On the Advanced tab, select Environment Variables, and then add or edit JAVA_HOME to point to where the Java JDK installation is located, for example, C:\Program Files\Java\jdk1.8.0. |
UNIX
To set the JAVA_HOME environment variable, if the Java installation is located in java-install-dir:
| • | Korn and bash shells: |
export JAVA_HOME=java-install-dir;
export PATH=$JAVA_HOME/bin:$PATH
| • | Bourne shell: |
JAVA_HOME=java-install-dir;
export JAVA_HOME; PATH=$JAVA_HOME/bin:$PATH; export PATH
| • | C shell: |
setenv JAVA_HOMEjava-install-dir;
setenv PATH $JAVA_HOME/bin:$PATH;
export PATH=$JAVA_HOME/bin:$PATH
Data Directory
The data directory is the location of volatile files used by the application server, such as server properties and configuration. For more information, see Running Managers With a Different Data Directory.
Port Changes
By default, the Manager uses HTTP on port 8000 for messaging, port 8080 for the web-based Administration Tool, and port 8005 for Tomcat management. You can change any of these locations by editing the server.xml file in the DS_DATA/conf directory.
For more information, see Changing the HTTP Ports.
HTTPS
By default, all communication takes place over HTTP; you can configure the Manager to use HTTPS instead.
For more information, see Configuring SSL.
Default File Handle Limit
If you are installing a Manager on a UNIX system and plan to run a large grid, you might need to increase the default limit for the number of open file handles. The default on most UNIX systems is 1024, which is insufficient for a busy grid. In Linux, this is done in the /etc/security/limits.conf file.