Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Listing attributes of configuration objects using the wsadmin tool

 

You can use scripting to generate a list of attributes of configuration objects. Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.

 

Overview

Perform the following steps to create a list of attributes of configuration objects:

 

Procedure

  1. List the attributes of a given configuration object type, using the attributes command...

    where:

    $ is a Jacl operator for substituting a variable name with its value
    AdminConfig is an object that represents the WebSphere Application Server configuration
    attributes is an AdminConfig command
    type is an object type

    This command returns a list of attributes and its data type.

    To get a list of attributes for the JDBCProvider type, use the following example command:

  2. List the required attributes of a given configuration object type, using the required command...

    where:

    $ is a Jacl operator for substituting a variable name with its value
    AdminConfig is an object that represents the WebSphere Application Server configuration
    required is an AdminConfig command
    type is an object type

    This command returns a list of required attributes.

    To get a list of required attributes for the JDBCProvider type, use the following example command:

  3. List attributes with defaults of a given configuration object type, using the defaults command...

    where:

    $ is a Jacl operator for substituting a variable name with its value
    AdminConfig is an object that represents the WebSphere Application Server configuration
    defaults is an AdminConfig command
    type is an object type

    This command returns a list of all the attributes, types, and defaults.

    To get a list of attributes with the defaults displayed for the JDBCProvider type, use the following example command:




}
Using the AdminConfig object for scripted administration

 

Related Reference


Commands for the AdminConfig object