WAS v8.5 > Reference > SetsProcess definition settings page
Use this page to configure a process definition. A process definition includes the command line information necessary to start or initialize a process.
For the WebSphere Application Server and the WAS, Express products, only the command-line information for starting or initializing a process applies.
To view this dmgr console page, click Servers > Server Types > WebSphere application servers > server_name. Then, in the Server Infrastructure section, click Java and process management > Process definition.
Executable name
This command line information specifies the executable name that is invoked to start the process.
For example, if you are using a perl script as a generic server, enter the path to the perl.exe module in the Executable name field, and then enter the name of the perl script, along with any arguments, in the Executable arguments field.
Data type. The following table describes the data type for the Executable name setting.
Information Value Data type String
Executable arguments
This command line information specifies the arguments that are passed to the executable when starting the process.
We can enter multiple arguments in this field, but they must be separated by carriage returns. Use the Enter key on your keyboard to create these carriage returns. The following example illustrates how a perl script application that requires two arguments should appear in this field:
perl_application.pl arg1 arg2
Data type and units. The following table describes the data type and units for the Executable arguments setting.
Information Value Data type String Units Command-line arguments
Start command (startCommand)
This command line information specifies the platform-specific command to launch the server process.
Start command arguments (startCommandArgs)
This command line information specifies any additional arguments required by the start command.
If we have two or more arguments that need to be passed for process definition settings, then specify the arguments on separate lines. For example, if you are specifying port 8089 and a configuration file (location and file name) as command arguments, you would specify:
<startCommandArgs>8089<startCommandArgs> <startCommandArgs>/opt/payexpert/conf/PCPILogServer.properties<startCommandArgs>
In the dmgr console, we specify this by entering each argument on a new line.Do not separate the command arguments with just a space.
Stop command (stopCommand)
This command line information specifies the platform-specific command to stop the server process
Data type, Format, Example. Specify two commands in the field, one for the Stop command, and one for the Immediate Stop (CANCEL) command.
Information Value Data type String Format STOP server_short_name;CANCEL server_short_name z/OS example STOP BBOS001;CANCEL BBOS001
Stop command arguments (stopCommandArgs)
This command line information specifies any additional arguments required by the stop command.
Data type, Format, Example. Specify arguments for the Stop command and the Immediate Stop (CANCEL) command.
Information Value Data type String Format stop command arg string;immediate stop command arg string z/OS example ;ARMRESTART In this example, Stop has no arguments. Immediate Stop has the argument ARMRESTART. A semicolon precedes ARMRESTART.
Terminate command (terminateCommand)
This command line information specifies the platform-specific command to terminate the server process.
Data type, Format, Example. Specify arguments for the terminate command.
Information Value Data type String Format FORCE server_short_name z/OS example FORCE BBOS001
Terminate command arguments (terminateCommandArgs)
This command line information specifies any additional arguments required by the terminate command.
The default is an empty string.
Data type, Format, Example. Specify additional arguments for the terminate command.
Information Value Data type String Format terminate command arg string z/OS example ARMRESTART
Work directory
File system directory the process uses as its current working directory. This setting only applies for IBM i and distributed platforms. The process uses this directory to determine the locations of input and output files with relative path names.
Data type. The following table describes the data type.
Information Value Data type String
Executable target type
Whether the executable target is a Java class or an executable JAR file.
Data type. The following table describes the data type.
Information Value Data type String
Executable target
Name of the executable target. If the target type is a Java class name, this field contains the main() method. If the target type is an executable JAR file, this field contains the name of that JAR file.
Data type. The following table describes the data type.
Information Value Data type String
Subtopics
- Process execution settings
Use this page to view or change the process execution settings for a server process.- Process logs settings
Use this page to view or change settings for specifying the files to which standard out and standard error streams write.
Related
Define application server processes
Reference:
Java virtual machine settings
Process execution settings
Process logs settings
Custom property page
Log and trace settings