HP-UX Secure Resource Partitions (SRP) A.02.02 Administrator's Guide

60
Default: /var/hpsrp/srp_name/opt/hpws/tomcat.
Java Home
Path
The java home path
Variable Name: java_path
Default: /opt/java1.5
Tomcat user
name
Specifies the Unix user name under which the Tomcat processes in this
compartment will run.
Variable Name: user.
Default: www.
Tomcat HTTP
port number
Specifies the TCP port number on which the compartment Tomcat server will
receive HTTP requests.
Variable Name: http_port.
Valid Input: A TCP port number in the range 1- 65535.
Default: 8081.
Tomcat AJP
port number
Specifies the TCP port number on which the compartment Tomcat server will
receive request from apache webserver.
Variable Name: ajp_port.
Valid Input: A TCP port number in the range 1- 65535.
Default: 8009.
Tomcat
Control port
Specifies the TCP port number on which the compartment Tomcat server will
receive request from apache webserver.
Variable Name: control_port.
Valid Input: A TCP port number in the range 1- 65535.
Default:
800
5
Start Tomcat
at SRP start
time
Specifies if you want to SRP to add a script to the SRP init directory structure to
start and stop Tomcat. The script is automatically executed when the SRP is started
or stopped.
Variable Name: start_tomcat.
Valid Input: yes or no.
Default: yes.
10.1.3.2 Configuration Data
By default, the tasks executed by the /opt/hpsrp/bin/util/tomcat_setup script include:
Creating conf, logs, temp, webapps and work subdirectories below the
compartment Tomcat home directory.
Creating a compartment-specific server.xml file with compartment-specific configuration
data, such as setting tomcat http, ajp ports.
Creating compartment-specific initialization scripts and startup file to start Tomcat with the
compartment-specific configuration files when the compartment startup script is executed.
The setup script:
o Modifies the initialization scripts to start/stop tomcat application as the tomcat user.
Also, exported variables that define tomcat’s CATALINA_HOME, CATALINA_BASE
and JAVA_HOME directory.