+

Search Tips   |   Advanced Search

ResourceManagement

Use the Jython or Jacl scripting languages to configure resource providers with the wsadmin tool. The commands in the ResourceManagement group can be used to define and display properties for resource providers.

  1. setResourceProperty
  2. showResourceProperties


setResourceProperty

Set the value of a specified property defined on a resource provider such as JDBCProvider or a connection factory such as DataSource or JMSConnectionFactory. If the property with specified key is defined already, then this command overrides the value. If no property with a specified key is defined, this command will add the property with specified key and value.

Target object: The configuration object ID of a resource provider or a connection factory.

Required parameters

Optional parameters

Sample output: The command does not return output.

Batch mode example usage:

Interactive mode example usage:


showResourceProperties

List all of the property values defined on a resource provider such as JDBC provider or a connection factory such as data source or JMS connection factory.

Target object: The configuration object ID of a resource provider or a connection factory.

Required parameters: None.

Optional parameters:

Sample output: The command returns the property values defined on the resource provider or the connection factory specified.

Batch mode example usage:

Interactive mode example usage:

  • wsadmin AdminTask
  • Commands for the AdminTask object