Configure custom properties for J2C connection factories using wsadmin
An example configuring a new custom property for a J2C resource factories follows:
- Identify the parent ID and assign it to the newcf variable:
set newcf [$AdminConfig getid /J2CConnectionFactory:J2CCF1/]
- Create a J2EE resource property set:
set newPropSet [$AdminConfig create J2EEResourcePropertySet $newcf {}]
- Identify the required attributes:
$AdminConfig required J2EEResourceProperty
An example of this output follows:
Attribute Type name String- Set up the required attributes:
set name [list name RP4] set rpAttrs [list $name]- Create a J2EE resource property:
$AdminConfig create J2EEResourceProperty $newPropSet $rpAttrs
- Save changes:
$AdminConfig save