Resource Management Commands
The resource commands allow you to manage the various resources used in your application.
TABLEC–7 ResourceManagementCommands
Command Denition
create-jdbc-connection-pool Registers a newJDBC connectionpool with the specied JDBC
connection pool name.
delete-jdbc-connection-pool Deletes a JDBC connection pool. The operandidenties the JDBC
connection pool tobe deleted.
list-jdbc-connection-pools Gets the JDBC connection pools that havebeen created.
create-jdbc-resource Createsa new JDBC resource.
delete-jdbc-resource Removesa JDBC resource with thespecied JNDI name.
list-jdbc-resources Displaysa list of JDBC resources that havebeen created.
create-jms-resource Createsa Java Message Service(JMS) connectionfactory resource or
a JMS destinationresource.
delete-jms-resource Removesthe specied JMS resource.
list-jms-resources Lists the existing JMSresources (destination and connection factory
resources).
create-jndi-resource Registersa JNDI resource.
delete-jndi-resource Removesthe JNDI resourcewith the specied JNDI name.
list-jndi-resources Identies allthe existing JNDI resources.
list-jndi-entries Browses and queries the JNDI tree.
create-javamail-resource Creates a JavaMail session resource.
delete-javamail-resource Removes the speciedJavaMail sessionresource.
list-javamail-resources Lists the existing JavaMail session resources.
create-persistence-resource Registers a persistenceresource.
delete-persistence-resource Removes a persistenceresource. When you delete apersistence
resource, the commandalso removes the JDBC resource if itwas
created using thecreate-persistence-resource command.
list-persistence-resources Displays allthe persistence resources.
create-custom-resource Createsa custom resource. A customresource species a custom
server-wide resource objectfactory that implements the
javax.naming.spi.ObjectFactory interface.
ResourceManagementCommands
AppendixC • Theasadmin Utility 241