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)
Avoid trouble: Quotation marks exist in the output
of this command with the
propertySet parameter.
The existence of these quotation marks might lead to difficulties
when you parse the output of the command.
gotcha
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.