Configure a new J2C resource adapter

An example configuring a new J2C resource adapter follows:

  • Identify the parent ID and assign it to the node variable.

    set node [$AdminConfig getid /Cell:cellname/Node:nodename/]
    

    An example of this output follows:

    nodename(cells/cellname/nodes/nodename:node.xml#Node_1)
    

  • Identify the required attributes:

    $AdminConfig required J2CResourceAdapter
    

    An example of this output follows:

    Attribute     Type
    name         String
    

  • Set up the required attributes:

    set rarFile c:/currentScript/cicseci.rar
    set option  [list  -rar.name  RAR1]
    

  • Create a resouce adapter:

    set newra [$AdminConfig installResourceAdapter $rarFile nodename $option]
    

    An example of this output follows:

    RAR1(cells/cellname/nodes/nodename:resources.xml#J2CResourceAdapter_1)
    

  • Save changes:

    $AdminConfig save
    


Configure custom properties for J2C resource adapters using wsadmin
Configure a new J2C connection factory using wsadmin
Configure new J2C authentication data entries using wsadmin

 

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