ResourceManagement Commands

Theresource commands allow you to manage the various resources used in your application.

TABLEC–7 ResourceManagement Commands
Command Denition
create-jdbc-connection-pool Registersa new JDBC connection pool with the specied JDBC
connectionpool name.
delete-jdbc-connection-pool Deletesa JDBC connection pool. The operand identies the JDBC
connectionpool to be deleted.
list-jdbc-connection-pools Getsthe JDBC connection pools that have been created.
create-jdbc-resource Createsa new JDBC resource.
delete-jdbc-resource Removesa JDBC resource with the specied JNDI name.
list-jdbc-resources Displaysa list of JDBC resources that have been created.
create-jms-resource Createsa Java Message Service (JMS) connection factory resource or
aJMS destination resource.
delete-jms-resource Removesthe specied JMS resource.
list-jms-resources Liststhe existing JMS resources (destination and connection factory
resources).
create-jndi-resource Registersa JNDI resource.
delete-jndi-resource Removesthe JNDI resource with the specied JNDI name.
list-jndi-resources Identiesall the existing JNDI resources.
list-jndi-entries Browsesand queries the JNDI tree.
create-javamail-resource Createsa JavaMail session resource.
delete-javamail-resource Removesthe specied JavaMail session resource.
list-javamail-resources Liststhe existing JavaMail session resources.
create-persistence-resource Registersa persistence resource.
delete-persistence-resource Removesa persistence resource. When you delete a persistence
resource,the command also removes the JDBC resource if it was
createdusing the create-persistence-resource command.
list-persistence-resources Displaysall the persistence resources.
create-custom-resource Createsa custom resource. A custom resource species a custom
server-wideresource object factory that implements the
javax.naming.spi.ObjectFactoryinterface.
ResourceManagementCommands
AppendixC • Theasadmin Utilit y 241