Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
Perform the following example to configure a new URL:
Steps for this task
Using Jacl:
set newurlp [$AdminConfig getid /Cell:mycell/Node:mynode/URLProvider:URLP1/]
newurlp = AdminConfig.getid('/Cell:mycell/Node:mynode/URLProvider:URLP1/') print newurlp
URLP1(cells/mycell/nodes/mynode|resources.xml#URLProvider_1)
Using Jacl:
$AdminConfig required URL
print AdminConfig.required('URL')
Attribute Type name String spec String
Using Jacl:
set name [list name URL1] set spec [list spec "Put the spec here"] set urlAttrs [list $name $spec]
{name URL1} {spec {Put the spec here}}
name = ['name', 'URL1'] spec = ['spec', "Put the spec here"] urlAttrs = [name, spec]
[[name, URL1], [spec, "Put the spec here"]]
Using Jacl:
$AdminConfig create URL $newurlp $urlAttrs
print AdminConfig.create('URL', newurlp, urlAttrs)
URL1(cells/mycell/nodes/mynode|resources.xml#URL_1)
Related concepts
AdminConfig object for scripted administration
Related reference
Commands for the AdminConfig object