|Oracle GlassFish Server Reference Manual
Part Number E24938-01
lists the lifecycle modules
list-lifecycle-modules [--help] [target]
list-lifecycle-modules subcommand lists lifecycle modules. 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.
Displays the help text for the subcommand.
Indicates the location where lifecycle modules are to be listed. Valid values are
server- Specifies the default server instance as the target for listing lifecycle modules.
server is the name of the default server instance and is the default value for this operand.
cluster_name- Specifies a particular cluster as the target for listing lifecycle modules.
instance_name- Specifies a particular server instance as the target for listing lifecycle modules.
asadmin> list-lifecycle-modules WSTCPConnectorLCModule Command list-lifecycle-modules executed successfully
WSTCPConnectorLCModule is the only lifecycle module listed for the default target,
command executed successfully
error in executing the command