Sun Java System Web Server 7.0 Administrator's Guide

ProcedureTo Delete a Lifecycle Module

  1. Select the Configuration.

    Select the configuration, from the configuration list. For viewing the list of configuration, click Configuration tab.

  2. Click Java > Lifecycle Modules tab.

  3. Select the lifecycle module and click Delete Lifecycle Module button.

    Note –

    Using CLI

    The following example depicts how to create a Java Lifecycle Module named myLifecycleModule for the configuration test, implemented by the class com.MyLifecycleModule.

    wadm> create-lifecycle-module --user=admin --password-file=admin.pwd 
    --host=serverhost --port=8989 --config=config1 
    --class=com.sun.webserver.tests.LifecycleClass LifecycleTest

    See CLI Reference, create-lifecycle-module(1).

    For listing Java Lifecycle Modules execute the following command:

    wadm> list-lifecycle-modules --config=test

    See CLI Reference, list-lifecycle-modules(1).

    For adding properties to Java Lifecycle Modules, execute the following command:

    wadm> create-lifecycle-module-userprop --user=admin --password-file=admin.pwd 
    --host=serverhost --port=8989 --config=config1 --module=LifecycleTest info=Testing

    See CLI Reference, create-lifecycle-module-userprop(1).

    For modifying Java Lifecycle Module properties, execute the following command:

    wadm> set-lifecycle-module-prop --user=admin --password-file=admin.pwd 
    --host=serverhost --port=8989 --config=config1 --module=LifecycleTest 

    See CLI Reference, set-lifecycle-module-prop(1)