Configure a new J2C connection factory
An example configuring a new J2C resource factory follows:
- Identify the parent ID and assign it to the newra variable.
set newra [$AdminConfig getid /Cell:cellname/Node:nodename/J2CResourceAdapter:RAR1/]
- Identify the required attributes:
$AdminConfig required J2CConnectionFactory
An example of this output follows:
Attribute Type name String- Set up the required attributes:
set name [list name J2CCF1] set j2ccfAttrs [list $name]- Create a connection factory:
$AdminConfig create J2CConnectionFactory $newra $j2ccfAttrs
An example of this output follows:
J2CCF1(cells/cellname/nodes/nodename:resources.xml#J2CConnectionFactory_1)- Save changes:
$AdminConfig save
See also:
Configure custom properties for J2C connection factories