Define application server processes

 

Define application server processes

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 run-time properties such as the program to run, arguments to run the program, and the working directory.

  1. Go to the settings page for a process definition in the administrative console. Click Servers > Application Servers in the console navigation tree, click on an application server name and then Java and Process Management > Process Definition . Note that you can also define application server processes using the wsadmin tool. For more information, see Configuring for processes using scripting.

  2. 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 .

  3. Specify process execution statements for starting or initializing a UNIX or OS/400 process.

  4. Specify monitoring policies to track the performance of a process.

  5. 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.

  6. Specify name-value pairs for properties needed by the process definition.

  7. Stop the application server and then restart the server. See Start and stop the application server for more information.

  8. Check the application server to ensure that the process definition runs and operates as intended.



Sub-topics

Process definition settings
Automatically restarting server processes

Related concepts
Process definition

Related tasks
Running application servers from a non-root user
Running an application server from a non-root user and the node agent from root
Running the deployment manager with a non-root user ID
Running an Application Server and node agent from a non-root user