Configure custom properties for a resource environment provider using wsadmin
Using Jacl
set newrep [$AdminConfig getid /Cell:cell/Node:node/ResourceEnvironmentProvider:REP1/] $AdminConfig required J2EEResourceProperty set name [list name RP] set rpAttrs [list $name] set propSet [$AdminConfig showAttribute $newrep propertySet] $AdminConfig create J2EEResourceProperty $propSet $rpAttrs $AdminConfig save
Using Jython
newrep = AdminConfig.getid('/Cell:cell/Node:node/ResourceEnvironmentProvider:REP1/') print newrep print AdminConfig.required('J2EEResourceProperty') name = ['name', 'RP'] rpAttrs = [name] propSet = AdminConfig.showAttribute(newrep, 'propertySet') print propSet print AdminConfig.create('J2EEResourceProperty', propSet, rpAttrs) AdminConfig.save()