Configure a new WAS40 data source

  • Identify the parent ID:

    set newjdbc [$AdminConfig getid /JDBCProvider:JDBC1/]
    

    Example output:

    JDBC1(cells/cellname/nodes/nodename:resources.xml$JDBCProvider_1)
    

  • Get required attributes:

    $AdminConfig required WAS40DataSource
    

    Example output:

    Attribute    Type
    name				String
    

  • Set up required attributes:

    set name [list name was4DS1]
    set ds4Attrs [list $name]
    

  • Create WAS40DataSource:

    set new40ds [$AdminConfig create WAS40DataSource $newjdbc $ds4Attrs]
    

    Example output:

    was4DS1(cells/cellname/nodes/nodename:resources.xml#WAS40DataSource_1)
    

  • Save changes:

    $AdminConfig save
    


Configure a new WAS40 connection pool using wsadmin
Configure a new WAS40 custom property using wsadmin

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.