Configure a new WAS40 custom property
- Identify the parent ID:
set new40ds [$AdminConfig getid /Cell:cellname/Node:nodename/JDBCProvider:JDBC1/WAS40DataSource:was4DS1/]
Example output:
was4DS1(cells/cellname/nodes/nodenames:resources.xml$WAS40DataSource_1)- Get required attributes:
set newPropSet [$AdminConfig create J2EEResourcePropertySet $newds {}]
Example output:
(cells/cellname/nodes/nodename:resources.xml#J2EEResourcePropertySet_9)- Get required attribute:
$AdminConfig required J2EEResourceProperty
Example output:
Attribute Type name String- Set up required attributes:
set name [list name RP5] set rpAttrs [list $name]- Create J2EE Resource Property:
$AdminConfig create J2EEResourceProperty $newPropSet $rpAttrs
Example output:
RP5(cells/cellname/nodes/nodename:resources.xml#J2EEResourceProperty_9)- Save changes:
$AdminConfig save
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.