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

 

Configure new data source custom properties using scripting

 

You can configure new data source custom properties using the wsadmin tool and scripting. 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 configure a new data source custom property:

 

Procedure

  1. Identify the parent ID:

    Example output:

    DS1(cells/mycell/nodes/mynode|resources.xml$DataSource_1)

  2. Get the J2EE resource property set:

    Example output:

    (cells/mycell/nodes/mynode|resources.xml#J2EEResourcePropertySet_8)

  3. Get required attribute:

    Example output:

    Attribute     Type
    name         String

  4. Set up attributes:

  5. Create a J2EE resource property:

    Example output:

    RP4(cells/mycell/nodes/mynode|resources.xml#J2EEResourceProperty_8)

  6. Save the configuration changes. See the Saving configuration changes with the wsadmin tool article for more information.

  7. In a network deployment environment only, synchronize the node. See the Synchronizing nodes with the wsadmin tool article for more information.




}
Using the AdminConfig object for scripted administration

 

Related Reference


Commands for the AdminConfig object