CA WA DE Web Services change server a

Document ID : KB000108140
Last Modified Date : 27/07/2018
Show Technical Document Details
Introduction:
During install the CA WA DE Web services will set up the default DE server address.  They can be changed by editing the config.properties.
Question:
How to change default CA Workload DE server address in CA WA DE WebServices?
Environment:
CA Workload Automation DE 11.3 / R12
CA Workload Automation DE WebServices 11.3 / R12
Answer:
When Web Services is installed it will connect to only one DE server or High Availability (HA) instance.  If this address or hostname needs to be changed then the config.properties will be edited.  The config.properties has the Primary and Secondary (for HA) address information.

Gather the exact address and ports of the DE server(s).  Follow these step to update the configuration.
  • Navigate to the WebServices install directory.
  • Shutdown Web Services, using the StopDEWebServices.shStopDEWebServices.bat
  • Change directory to MET-INF inside the install directory.
In Linux
  <WAWebServices_install_directory>/apache-tomcat/webapps/axis2/WEB-INF/services/EspDSeriesService/META-INF
In Windows
  <drive>:\<WAWebServices_install_directory>\apache-tomcat\webapps\axis2\WEB-INF\services\EspDSeriesService\META-INF\
  • Open the config.properties file using Notepad or vi, (do not use Word or WordPad).  It is highly recommended to backup the file before making any changes to it.
  • Change Primary address to the new address.
# IP or host name of primary server.
primary.address=de.example.com

# RMI registry port of primary server.
primary.rmi.registry.port=7599

# IP or host name of standby server.
# Use the value for primary if high availability hasn't been configured.
secondary.address=StandbyServer

# RMI registry port of standby server.
# Use the value for primary if high availability hasn't been configured.
secondary.rmi.registry.port=7599
  • If HA has been setup, then change Secondary as needed.
  • Save the file and start web services.
Additional Information:
Login via Desktop Client and go to CLI. Type getproperties  and press enter. It will produce a long list of properties. Scroll look for "(Instance) rmi.registry.port". That will show the port used for RMI.
RMI port from CLI