TABLEC–7 ResourceManagement Commands (Continued)
Command Denition
delete-custom-resource Removesa custom resource.
list-custom-resources Liststhe custom resources.
create-connector-connection-pool Addsa new connector connection pool with the specied connection
poolname.
delete-connector-connection-pool Removesthe connector connection pool specied using the operand
connector_connection_pool_name.
list-connector-connection-pools Liststhe connector connection pools that have been created.
create-connector-resource Registersthe connector resource with the specied JNDI name.
delete-connector-resource Removesthe connector resource with the specied JNDI name.
list-connector-resources Getsall the connector resources.
create-admin-object Createsthe administered object that has a specied JNDI name.
delete-admin-object Removesthe administered object with the specied JNDI name.
list-admin-objects Listsall the administered objects.
create-resource-adapter-config Createsconguration information for the connector module.
delete-resource-adapter-config Deletesthe conguration information created in domain.xml for the
connectormodule.
list-resource-adapter-configs liststhe conguration information in the domain.xml for the
connectormodule
add-resources Createsthe resources named in the specied XML le. The
xml_le_pathis the path to the XML le containing the resources to
becreated. The DOCTYPE should be specied as
install_dir/lib/dtds/sun-resources_1_2.dtdin the
resources.xmlle.
ping-connection-pool testsif a connection pool is usable for both JDBC connection pools
andconnector connection pools. For example, if you create a new
JDBCconnection pool for an application that is expected to be
deployedlater, the JDBC pool is tested with this command before
deployingthe application. Before pinging a connection pool, you
mustcreate the connection pool with authentication and ensure that
theenterprise server or database is started.
ResourceManagementCommands
SunGlassFishEnterprise Ser ver2.1 Administration Guide •December 2008242