Example: Configuring an ORB service using wsadmin
The following example modifies the Object Request Broker (ORB) service for an application server:
- Identify the application server and assign it to the server variable:
set server [$AdminConfig getid /Cell:mycell/Node:mynode/Server:server1/]Example output:
server1(cells/mycell/nodes/mynode/servers/server1:server.xml#Server_1)- Identify the ORB belonging to the server and assign it to the orb variable:
set orb [$AdminConfig list ObjectRequestBroker $server]Example output:
(cells/mycell/nodes/mynode/servers/server1:server.xml#ObjectRequestBroker_1)- Modify the attributes:
$AdminConfig modify $orb {{connectionCacheMaximum 252} {noLocalCopies true}}- Save the changes with the following command:
$AdminConfig save