The servicetools script includes serviceability tools that you can use to help troubleshoot WebSphere Application Server - Express.
Authority
To run this script, your user profile must have *ALLOBJ authority.
Syntax
The syntax of the script is:
servicetools [ -products product_list [ -instances instance_list ] ] [ -input input_file ] [ -output output_file ] [ -trace trace_file ] [ -tools tool_options ] [ -help]
Parameters
The parameters of the script are:
-products
This is an optional parameter. The value product_list specifies the list of products for which you want to run the tools. If you specify multiple products, separate them with a colon (:). Valid products are WAS40Adv, WAS40AEs, WAS50Base, WAS50Express, WAS50ND, WAS50PME, WAS50PMEND, WAS51Base, WAS51Express, WAS51ND, WAS51PME, WAS51PMEND, and ALL. If you do not specify this parameter, you must specify the -products parameter for each tool as appropriate.
Note: Not all tools require that you specify a product. This parameter applies only to those tools that require that you specify a product.
-instances
This is an optional parameter. The value instance_list specifies the instance or instances for which you want to run the tools. If you specify multiple instances, separate them with a colon (:). If you do not specify this parameter, the tools run for all of the instances in the products specified by the -products parameter.
-input
This is an optional parameter. The value input_file specifies an alternate XML Configuration file for the service tools. By default, the servicetools script uses the validator.xml file that is included in the ServiceTools.jar file.
-output
This is an optional parameter. The value output_file specifies a file to which the script writes standard output. If this value is not specified, the script writes the standard output to the display.
-trace
This is an optional parameter. The value trace_file specifies a file to which the script writes trace information. If you do not specify this parameter, the script does not generate trace information.
-tools
This parameter specifies the tool or tools that you want to run. The value tools specifies the tool that you want to run. The value tool_options specifies the parameters for the tool. These are the valid values for -tools:
-checkprereqs
If you specify this parameter, the script starts the prerequisite validator tool. For information on this tool and its parameters, see The prerequisite validator tool.
-portconflict
If you specify this parameter, the script starts the port validator tool. This parameter requires the -product parameter. For information on this tool and its parameters, see The port validator tool.
You must specify all other parameters before you specify the tools parameter. You must specify the options for each tool after its parameter. You can specify more than one tool when you run the servicetools script. To run multiple tools, use this format:
servicetools parameters -tool1 tool1_options -tool2 tool2_options
-help
This optional parameter displays the usage statement for the script.