To enhance the operation of an application server, you can define
command-line information for starting or initializing an application server
process. Such settings define runtime properties such as the program to run,
arguments to run the program, and the working directory.
About this task
A process definition can include characteristics such as Java virtual
machine (JVM) settings, standard in, error and output paths, and the user
ID and password under which a server runs.
You can define application server
processes using the administrative console or the wsadmin tool.
Procedure
- In the administrative console, click Servers > Application
Servers and click on an application server name. Then, under Server Infrastructure,
click Java and Process Management > Process Definition.
- Select either Control, Servant, or Adjunct.
- On the settings page for a process definition, specify the name
of the executable to run, any arguments to pass when the process starts running,
and the working directory in which the process will run. Then click OK.
- Specify process execution
statements for starting or initializing a UNIX or i5/OS process.
- Specify monitoring policies to track the performance of a process.
- Specify process logs to which standard out and standard error
streams write. Complete this step if you do not want to use the default file
names.
- Specify name-value pairs for properties needed by the process
definition.
Important: Each custom property name must
be unique. If the same name is used for multiple properties, the process uses
the value specified for the first property that has that name.
- Stop the application server, and then have the executable, that
the process definition specifies, restart the server. If the executable
cannot restart the application server, the executable should use the generic
server.
- Check the server to verify that the process definition runs and
operates as intended.