Serviceguard Toolkits for Contrib User Guide Version A.12.00.00
Using Tomcat toolkit
After installing the Tomcat toolkit, you can use this toolkit to:
• Configure packages in an SG/LX environment
• Manage packages
For more information about managing packages, see Managing packages. (page 35)
Configuring Tomcat toolkit packages
Configuring Tomcat toolkit packages
To configure modular Tomcat packages:
1. Create the package configuration and control templates using the cmmakepkg command:
# cmmakepkg -m tkit/tomcat/tomcat tomcat_pkg.conf
2. Edit the following attributes manually in the package configuration file. Table 26 (page 33)
lists all the attributes that you can edit manually in the package configuration file.
Table 12 List of attributes that you can edit
DescriptionAttribute
Define the Catalina Home directory. This is the directory
where Tomcat is installed.
CATALINA_HOME
NOTE: Tomcat toolkit does not support online
modification of this attribute.
Define the Catalina base directory. This is the base
directory where Tomcat configuration files like server.xml
CATALINA_BASE
reside. If this is not defined the toolkit uses
CATALINA_HOME as the base directory. This must be
unique for each tomcat instance and usually residing
on the shared disk
NOTE: Tomcat toolkit does not support online
modification of this attribute.
The userid used to start the tomcat daemon. No other
user can start tomcat. It is advisable that tomcat is not
TOMCAT_USER
started as root since it may lead to security
vulnerabilities.
NOTE: Tomcat toolkit does not support online
modification of this attribute.
Base directory of Java Development kit. This software
is a pre-requisite for running Tomcat.
JAVA_HOME
NOTE: Tomcat toolkit does not support online
modification of this attribute.
This is the tomcat server listening port. This is configured
in the configuration file $CATALINA_BASE/conf/
MONITOR_PORT
server.xml. The toolkit checks the existence of tomcat
process by periodically checking whether this port is
listening. If multiple instances of tomcat are configured
then this port must be unique for each instance.
The time interval in seconds to monitor the Tomcat
server. The default value is 30.
MONITOR_INTERVAL
The number of trials attempted by the toolkit script to
check the tomcat server daemon before giving up and
exiting. The default value is 0.
RETRY_TIMES
Using Tomcat toolkit 33