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 steps to configure a new URL provider:
Steps for this task
Using Jacl:
set node [$AdminConfig getid /Cell:mycell/Node:mynode/]
node = AdminConfig.getid('/Cell:mycell/Node:mynode/') print node
mynode(cells/mycell/nodes/mynode|node.xml#Node_1)
Using Jacl:
$AdminConfig required URLProvider
print AdminConfig.required('URLProvider')
Attribute Type streamHandlerClassName String protocol String name String
Using Jacl:
set name [list name URLP1] set shcn [list streamHandlerClassName "Put the stream handler classname here"] set protocol [list protocol "Put the protocol here"] set urlpAttrs [list $name $shcn $protocol]
{name URLP1} {streamHandlerClassName {Put the stream handler classname here}} {protocol {Put the protocol here}}
name = ['name', 'URLP1'] shcn = ['streamHandlerClassName', "Put the stream handler classname here"] protocol = ['protocol', "Put the protocol here"] urlpAttrs = [name, shcn, protocol] print urlpAttrs
[[name, URLP1], [streamHandlerClassName, "Put the stream handler classname here"], [protocol, "Put the protocol here"]]
Using Jacl:
$AdminConfig create URLProvider $node $urlpAttrs
print AdminConfig.create('URLProvider', node, urlpAttrs)
URLP1(cells/mycell/nodes/mynode|resources.xml#URLProvider_1)
Related concepts
AdminConfig object for scripted administration
Related reference
Commands for the AdminConfig object