Configuring processes using scripting
You can use the wsadmin tool to configure processes in your application server configuration. Enhance the operation of an application server by defining command-line information for starting or initializing the application server process. Process definition settings define runtime properties such as the program to run, arguments to run the program, and the working directory.
About this task
There are three ways to perform this task. Complete the
steps in this task to use the setProcessDefinition command for the
AdminTask object or the AdminConfig object to modify your process
definition configuration. Alternatively, you can use the configureProcessDefinition
Jython script in the AdminServerManagement script library to configure
process definition attributes. The wsadmin tool automatically loads
the script when the tool starts. Use the following syntax to configure
process definition settings using the configureProcessDefinition script:
AdminServerManagement.configureProcessDefintion(nodeName, serverName, otherParamList)
For additional information and argument definitions, see
the documentation for the AdminServerMananagment script library.