Configure an ORB service using wsadmin

 

The following example modifies the ORB service for an appserver...

 

Using Jacl...

### Identify the appserver and assign it to the server variable...
set server [$AdminConfig getid /Cell:cell/Node:node/Server:server/]


### Identify the ORB belonging to the server and assign it to the orb variable...

set orb [$AdminConfig list ObjectRequestBroker $server]

### Modify the attributes...

$AdminConfig modify $orb {{connectionCacheMaximum 252} {noLocalCopies true}}


$AdminConfig save

 

Using Jython

server = AdminConfig.getid('/Cell:cell/Node:node/Server:server/')
print server 

orb = AdminConfig.list('ObjectRequestBroker', server)
 print orb

AdminConfig.modify(orb, [['connectionCacheMaximum', 252], ['noLocalCopies',  'true']])

AdminConfig.save()