Can there be two server entries in the connections.properties file?
search cancel

Can there be two server entries in the connections.properties file?

book

Article ID: 234662

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

How to add a second URL to the connections.properties file for the client?

 

Environment

Release:: 9.3, 9.4

Component: APPLICATIONS MANAGER

Resolution

Before version 9.3 client.jnlp was in the use. When using client.jnlp with a secondary RMI failover, it was always known that there have to be two different client.jnlp files as they connected to two different RMI servers as well as two different Apache web servers. So when the primary RMI goes down and the secondary kicks in, the user has to log off the primary client.jnlp and then log into the secondary client.jnlp file

 

In 9.3 and higher versions, RunClient.jar is used. Any logged-in user will have to log off the primary RunClient.jar and then log into the secondary RunClient.jar. With the RunClient.jar and the connections.properties file, users can now log into multiple environments as long as they are on the same version. However, the development team has not accounted for using one Runclient.jar to connect to both the primary RMI and secondary RMI since they have the same master name. Having the same master name makes it so that the users can't add a second entry of the same in the connections.properties file. 

 

So for a workaround users can have two different RunClient.jar files, one for the primary, and any other environments users want such as prod, test, or dev. But if users want to reconnect after primary RMI fails over to secondary RMI, they have to open up the secondary Runclient.jar.