Configure a new URL provider

An example configuring a new URL provider follows:

  • Identify the parent ID and assign it to the node variable.

    set node [$AdminConfig  getid  /Cell:cellname/Node:nodename/]
    

    An example of this output follows:

    nodename(cells/cellname/nodes/nodename:node.xml#Node_1)
    

  • Identify the required attributes:

    $AdminConfig required URLProvider
    

    An example of this output follows:

    Attribute     Type
    streamHandlerClassName   String
    protocol       String
    name         String
    

  • Set up the required attributes:

    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]
    

    An example of this output follows:

    {name URLP1} {streamHandlerClassName {Put the stream handler classname here}} {protocol {Put the protocol here}}
    

  • Create a URL provider:

    $AdminConfig create URLProvider $node $urlpAttrs
    

    An example of this output follows:

    URLP1(cells/cellname/nodes/nodename:resources.xml#URLProvider_1)
    

  • Save changes:

    $AdminConfig save
    


Configure custom properties for URL providers using wsadmin
Configure a new URL using wsadmin

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.