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

list-custom-resources

gets all custom resources

Synopsis

list-custom-resources [--help] [target]

Description

The list-custom-resources subcommand lists the custom resources.

This subcommand is supported in remote mode only.

Options

--help
-?

Displays the help text for the subcommand.

Operands

target

This operand specifies the location of the custom resources. Valid targets are:

server

Lists the resources on the default server instance. This is the default value

domain

Lists the resources in the domain.

cluster_name

Lists the resources for every server instance in the cluster.

instance_name

Lists the resources for a particular server instance.

Examples

Example 1   Listing Custom Resources

This example lists the current custom resources.

asadmin> list-custom-resources
sample_custom_resource01
sample_custom_resource02
Command list-custom-resources executed successfully.
Example 2   Using the list-custom-resources command with a target

The following example displays the usage of this command.

asadmin> list-custom-resources --user admin --passwordfile 
passwords.txt --host plum --port 4848 target6 

sample_custom_resource03
sample_custom_resource04
Command list-custom-resources executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also

create-custom-resource(1),delete-custom-resource(1)

asadmin(1M)