Configure new connection pools using scripting



Search Tips   |   Advanced Search



  1. Start wsadmin

  2. Using Jacl:

    set newds [$AdminConfig getid /Cell:mycell/Node:mynode/JDBCProvider:JDBC1/DataSource:DS1/]

    ### Create the connection pool:
    $AdminConfig create ConnectionPool $newds {}

    $AdminConfig save

  3. Jython

    newds = AdminConfig.getid('/Cell:mycell/Node:mynode/JDBCProvider:JDBC1/DataSource:DS1/')
    print AdminConfig.create('ConnectionPool', newds, [])

  4. In a network deployment environment only, synchronize the node.


See Also

AdminConfig object for scripted administration


See Also

Commands for the AdminConfig object