Configure custom properties for URL providers using wsadmin
Using Jacl:
set newurlp [$AdminConfig getid /Cell:cell/Node:node/URLProvider:URLP1/] set propSet [$AdminConfig showAttribute $newurlp propertySet] $AdminConfig required J2EEResourceProperty set name [list name RP2] set rpAttrs [list $name] $AdminConfig create J2EEResourceProperty $propSet $rpAttrs $AdminConfig save
Using Jython:
newurlp = AdminConfig.getid('/Cell:cell/Node:node/URLProvider:URLP1/') print newurlp propSet = AdminConfig.showAttribute(newurlp, 'propertySet') print propSet print AdminConfig.required('J2EEResourceProperty') name = ['name', 'RP2'] rpAttrs = [name] print AdminConfig.create('J2EEResourceProperty', propSet, rpAttrs) AdminConfig.save()