Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

ProcedureTo edit a lifecycle module

  1. In the tree component, expand the Applications node.

  2. Expand the Lifecycle Modules node.

  3. Select the node for the lifecycle module.

  4. On the Lifecycle Module page, edit the following fields:

    1. In the Class Name field, type the fully qualified name of the lifecycle module’s class file.

    2. If the JAR file containing the lifecycle is in the server’s classpath, then leave the Classpath field blank. Otherwise, type the fully qualified path.

      If you don’t specify the classpath, you must unpack the classes in domain-dir/applications/lifecycle-module/module-name. If you specify a classpath, nothing else is required.

    3. In the Load Order field, type an integer greater than 100 and less than the operating system’s MAXINT value.

      The integer determines the order in which lifecycle modules are loaded when the server starts up. Modules with smaller integers are loaded sooner.

    4. When you start the server, it loads lifecycle modules that are already deployed.

      By default, if a load fails, the server continues the startup operation. To prevent the server from starting up when a load fails, select the On Load Failure checkbox.

    5. Change the description.

    6. Define property name/value pairs by clicking Add Property.

See Also