Modify port numbers in serverindex.xml
Overview
Use the following attributes to modify the serverindex.xml file...
- BOOTSTRAP_ADDRESS
An attribute of the NameServer object that exists inside the server. It is used by the naming client to specify the naming server to look up the initial context. To modify its end point, obtain the ID of the NameServer object and issue a modify command, for example:
Using Jacl...
set s [$AdminConfig getid /Server:server/] set ns [$AdminConfig list NameServer $s] $AdminConfig modify $ns { \ {BOOTSTRAP_ADDRESS {{port 2810} \ {host myhost}}}Using Jython
s = AdminConfig.getid('/Server:server/') ns = AdminConfig.list('NameServer', s) AdminConfig.modify(ns, [['BOOTSTRAP_ADDRESS', [['port', 2810], ['host', 'myhost']]]])- SOAP_CONNECTOR-ADDRESS
An attribute of the SOAPConnector object that exists inside the server. It is the port that is used by HTTP transport for incoming SOAP requests. To modify its end point, obtain the ID of the SOAPConnector object and issue a modify command...
Using Jacl...
set s [$AdminConfig getid /Server:server/] set soap [$AdminConfig list SOAPConnector $s] $AdminConfig modify $soap { \ {SOAP_CONNECTOR_ADDRESS {{host myhost} \ {port 8881}}}}Using Jython
s = AdminConfig.getid('/Server:server/') soap = AdminConfig.list('SOAPConnector', s) AdminConfig.modify(soap, [['SOAP_CONNECTOR_ADDRESS', [['host', 'myhost'], ['port', 8881]]]])- DRS_CLIENT_ADDRESS
An attribute of the SystemMessageServer object that exists inside the server. It is the port used to configure the Data Replication Service (DRS) which is a JMS-based message broker system for dynamic caching. To modify its end point, obtain the ID of the SystemMessageServer object and issue a modify command...
Using Jacl...
set s [$AdminConfig getid /Server:server/] set soap [$AdminConfig list SystemMessageServer $s] $AdminConfig modify $soap {{DRS_CLIENT_ADDRESS {{host myhost} {port 7874}}}}Using Jython
s = AdminConfig.getid('/Server:server/') soap = AdminConfig.list('SystemMessageServer', s) AdminConfig.modify(soap, [['DRS_CLIENT_ADDRESS', [['host', 'myhost'], ['port', 7874]]]])- JMSSERVER_QUEUED_ADDRESS and JMSSERVER_DIRECT_ADDRESS
An attribute of the JMSServer object that exists inside the server. These are ports used to configure the WAS JMS provider topic connection factory settings. To modify its end point, obtain the ID of the JMSServer object and issue a modify command...
Using Jacl...
set s [$AdminConfig getid /Server:server/] set soap [$AdminConfig list JMSServer $s] $AdminConfig modify $soap {{JMSSERVER_QUEUED_ADDRESS {{host myhost} {port 5560}}}} $AdminConfig modify $soap {{JMSSERVER_DIRECT_ADDRESS {{host myhost} {port 5561}}}}Using Jython
s = AdminConfig.getid('/Server:server/') soap = AdminConfig.list('JMSServer', s) AdminConfig.modify(soap, [['JMSSERVER_DIRECT_ADDRESS', [['host', 'myhost'], ['port', 5561]]]])- NODE_DISCOVERY_ADDRESS
An attribute of the NodeAgent object that exists inside the server. It is the port used to receive the incoming process discovery messages inside a node agent process. To modify its end point, obtain the ID of the NodeAgent object and issue a modify command, for example...
Using Jacl...
set nodeAgentServer [$AdminConfig getid /Server:myhost/] set nodeAgent [$AdminConfig list NodeAgent $nodeAgentServer] $AdminConfig modify $nodeAgent {{NODE_DISCOVERY_ADDRESS {{host myhost} {port 7272}}}}Using Jython
nodeAgentServer = AdminConfig.getid('/Server:myhost/') nodeAgent = AdminConfig.list('NodeAgent', nodeAgentServer) AdminConfig.modify(nodeAgent, [['NODE_DISCOVERY_ADDRESS', [['host', 'myhost'], ['port', 7272]]]])- CELL_DISCOVERY_ADDRESS
An attribute of the deploymentManager object that exists inside the server. It is the port used to receive the incoming process discovery messages inside a deployment manager process. To modify its end point, obtain the ID of the deploymentManager object and issue a modify command, for example:
Using Jacl...
set netmgr [$AdminConfig getid /Server:netmgr/] set deploymentManager [$AdminConfig list CellManager $netmgr] $AdminConfig modify $deploymentManager { \ {CELL_MULTICAST_DISCOVERY_ADDRESS {{host myhost} \ {port 7272}}}} $AdminConfig modify $deploymentManager { \ {CELL_DISCOVERY_ADDRESS {{host myhost} \ {port 7278}}}}Using Jython
netmgr = AdminConfig.getid('/Server:netmgr/') deploymentManager = AdminConfig.list('DeploymentManager', netmgr) AdminConfig.modify(deploymentManager, [['CELL_MULTICAST_DISCOVERY_ADDRESS', [['host', 'myhost'], ['port', 7272]]]]) AdminConfig.modify(deploymentManager, [['CELL_DISCOVERY_ADDRESS', [['host', 'myhost'], ['port', 7278]]]])