Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

delete-lifecycle-module

removes the lifecycle module

Synopsis

delete-lifecycle-module [--help] [--target target] module_name

Description

The delete-lifecycle-module subcommand removes a lifecycle module. A lifecycle module provides a means of running a short or long duration Java-based task at a specific stage in the server life cycle. This subcommand is supported in remote mode only.

Options

--help
-?

Displays the help text for the subcommand.

--target

Indicates the location where the lifecycle module is to be deleted. Valid values are

  • server- Specifies the default server instance as the target for deleting the lifecycle module. server is the name of the default server instance and is the default value for this option.

  • cluster_name- Specifies a particular cluster as the target for deleting the lifecycle module.

  • instance_name- Specifies a particular server instance as the target for deleting the lifecycle module.

Operands

module_name

This operand is a unique identifier for the deployed server lifecycle event listener module.

Examples

Example 1   Deleting a Lifecycle Module

The following example deletes a lifecycle module named customSetup.

asadmin> delete-lifecycle-module customSetup
Command delete-lifecycle-module executed successfully

Exit Status

0

command executed successfully

1

error in executing the command

See Also

create-lifecycle-module(1), list-lifecycle-modules(1)

asadmin(1M)