Get the J2EE resource property set:
Using Jacl:
set propSet [$AdminConfig showAttribute $newrep propertySet]
Using Jython:
propSet = AdminConfig.showAttribute(newrep, 'propertySet')
print propSet
Example output:
(cells/mycell/nodes/mynode|resources.xml#PropertySet_1)
For transitioning users: In Version 6.1, quotation marks
exist in the output of this command with the
propertySet parameter.
The quotation marks, which have been removed in this release, caused
difficulties when you parsed the output.
trns
If the command returns None as
the value for the propSet variable, create a new property set. The
command returns None if the property set does not exist in
your environment. Use the following examples to create a new property
set:
Using Jacl:
set newPropSet [$AdminConfig create $newrep {}]
Using
Jython:
newPropSet = AdminConfig.create('J2EEResourcePropertySet',newrep,[])
After
setting the newPropSet variable, retry the command to get the J2EE
resource property set before going to the next step.