Configure a new J2C connection factory

 

An example configuring a new J2C resource factory follows:

  1. Identify the parent ID and assign it to the newra variable.

    set newra [$AdminConfig getid /Cell:cellname/Node:nodename/J2CResourceAdapter:RAR1/]
    

  2. Identify the required attributes:

    $AdminConfig required J2CConnectionFactory
    

    An example of this output follows:

    Attribute     Type
    name         String
    

  3. Set up the required attributes:

    set name [list name J2CCF1]
    set j2ccfAttrs [list $name]
    

  4. Create a connection factory:

    $AdminConfig create J2CConnectionFactory $newra $j2ccfAttrs
    

    An example of this output follows:

    J2CCF1(cells/cellname/nodes/nodename:resources.xml#J2CConnectionFactory_1)
    

  5. Save changes:

    $AdminConfig save
    

 

See also:

Configure custom properties for J2C connection factories