skip to main content
TCMAN Reference : Server actions : Test a server configuration (test)
 

Test a server configuration (test)

Purpose

Displays information on the configuration and environment of an instance. It also displays information about error conditions.
The test action starts a server (instance), loads all the configuration files, and then displays information. The instance is stopped, exiting gracefully even if there is an error condition.
To execute this action, the instance cannot be running.

Syntax

tcman.sh test [general_options]

Parameters

general_options
Specify one or more of the general TCMAN options. Run tcman.sh help test to see which general options are appropriate.

Example

Run a test of the configuration of acme1, which is an instance of the core server installed at /psc/pashome:
$: /psc/pashome/bin/tcman.sh -I acme1 test
Using CATALINA_BASE: /psc/acme1
Using CATALINA_HOME: /psc/pashome
Using CATALINA_TMPDIR: /psc/acme1/temp
Using JRE_HOME: /tools/linuxx86_64/java64/jdk1.7.0_02/
Using CLASSPATH: /psc/pashome/bin/bootstrap.jar:/psc/pashome/bin/tomcat-juli.jar
Using CATALINA_PID: /psc/acme1/temp/catalina.pid
. . .

Notes

The test action is particularly useful for testing to verify that a server will start and run properly after you make changes to configuration and properties files.