beautypg.com

Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 242

background image

TABLE C–7

Resource Management Commands

(Continued)

Command

Definition

delete-custom-resource

Removes a custom resource.

list-custom-resources

Lists the custom resources.

create-connector-connection-pool

Adds a new connector connection pool with the specified connection
pool name.

delete-connector-connection-pool

Removes the connector connection pool specified using the operand
connector_connection_pool_name

.

list-connector-connection-pools

Lists the connector connection pools that have been created.

create-connector-resource

Registers the connector resource with the specified JNDI name.

delete-connector-resource

Removes the connector resource with the specified JNDI name.

list-connector-resources

Gets all the connector resources.

create-admin-object

Creates the administered object that has a specified JNDI name.

delete-admin-object

Removes the administered object with the specified JNDI name.

list-admin-objects

Lists all the administered objects.

create-resource-adapter-config

Creates configuration information for the connector module.

delete-resource-adapter-config

Deletes the configuration information created in domain.xml for the
connector module.

list-resource-adapter-configs

lists the configuration information in the domain.xml for the
connector module

add-resources

Creates the resources named in the specified XML file. The
xml_file_path is the path to the XML file containing the resources to
be created. The DOCTYPE should be specified as
install_dir/lib/dtds/sun-resources_1_2.dtd in the
resources.xml

file.

ping-connection-pool

tests if a connection pool is usable for both JDBC connection pools
and connector connection pools. For example, if you create a new
JDBC connection pool for an application that is expected to be
deployed later, the JDBC pool is tested with this command before
deploying the application. Before pinging a connection pool, you
must create the connection pool with authentication and ensure that
the enterprise server or database is started.

Resource Management Commands

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

242