All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-lifecyclemodulenew.html Maven / Gradle / Ivy




To Create a Lifecycle Module

  1. In the navigation tree, select the Lifecycle Modules node.

    The Lifecycle Modules page opens.

  2. On the Lifecycle Modules page, click New.

    The New Lifecycle Module page opens.

  3. In the Name field, type a name for the lifecycle module.
  4. In the Class Name field, type the fully qualified name of the lifecycle module's class file.

    The class must implement the com.sun.appserv.server.LifecycleListener interface.

  5. In the Classpath field, type the classpath for the lifecycle module.

    The classpath specifies where the lifecycle module is located. The default value is domain-dir/applications. If the module is already in this directory (that is, in the server classpath), this field can be left blank.

  6. In the Load Order field, type a value specifying the order in which this lifecycle module is to be loaded at startup.

    Modules with smaller integer load order values are loaded sooner. The value can range from 101 to the operating system's MAXINT. Values from 1 to 100 are reserved.

  7. In the Description field, type a description of the lifecycle module.
  8. Select the Status Enabled checkbox to enable the lifecycle module.

    This option is enabled by default.

  9. Select the On Load Failure Prevent Instance Startup checkbox to specify that the server is to be shut down if the lifecycle module fails to load.

    This option is disabled by default.

  10. To add target server instances and clusters on which to enable the lifecycle module, select them from the Available Targets list and use the Add button to move them to the Selected Targets list.

    The Target option appears if clusters or stand-alone server instances aside from the default server instance (server) exist. By default, the lifecycle module is enabled on the default server instance, named server. Use the Add All button to deploy to all targets. Use the Remove and Remove All buttons to remove targets from the Selected Targets list.

  11. Click OK.
See Also
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2025 Weber Informatics LLC | Privacy Policy