Define appserver processes

 

+

Search Tips   |   Advanced Search

 

Overview

You can define command-line information for initializing an appserver process, including runtime properties such as...

A process definition can include characteristics such as...

You can define appserver processes using the console or the wsadmin tool.

 

Procedure

  1. In the console, click...

    Servers | Application Servers | appserver | Server Infrastructure | Java and Process Management |Process Definition

  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. [AIX HP-UX Solaris] Specify process execution statements for starting or initializing a UNIX or i5/OS 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.

    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.

  7. Optional: Prevent the appserver from creating javacore dumps.

    A javacore dump, or a thread dump as it is also called, is one of the primary problem determination documents that an appserver creates. Also, the performance impact of creating a javacore dump is usually ignorable. Therefore, in most WAS environments, you should not suppress the creation of a javacore dump.

    In certain circumstances, such as when there are security consideration, you might want to prevent the appserver from creating javacore dumps. To disable the javacore dump function:

    1. In the console, click...

      Servers | Application servers | server | Server Infrastructure | Java and Process Management | Process Definition | Java Virtual Machine | Custom Properties | New

    2. In the Name field enter DISABLE_JAVADUMP and in the Value field, enter true to prevent the appserver from creating javacore dumps.

  8. Stop the appserver and then restart the server.

  9. Check the appserver to ensure that the process definition runs and operates as intended.



Process definition settings
Automatically restart server processes

 

Related tasks

Run an appserver from a non-root user and the node agent from root
Run an Application Server and node agent from a non-root user
Run the deployment manager with a non-root user ID
Configure processes using scripting