Only one client session can be opened to the same Master on the same Machine by default.
search cancel

Only one client session can be opened to the same Master on the same Machine by default.


Article ID: 88279


Updated On:


CA Automic Applications Manager (AM)


Only one client session can be opened for the same Automation Engine (Master) on the same Machine by default.

Error Message Details:
AwE-5009 RMI connection failure, check if RmiServer is running

Details: Address already in use: JVM_Bind
at Method)
at Source)
at Source)
at Source)
at<init>(Unknown Source)
at Source)
at com.appworx.client.screen.util.ClientSocketManager.A(
at com.appworx.client.screen.util.ClientSocketManager.connect(
at com.appworx.client.screen.util.Loader.setMaster(
at com.appworx.client.screen.logon.C.Þ(
at com.appworx.client.screen.main.AxMain.A(
at com.appworx.client.screen.main.AxMain.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at Source)
at Source)
In Applications Manager only one client session can be opened to the same Master on the same machine by default.  If an attempt is made to try and open more than one client session, you will receive the above error.

With TCP/
IP you cannot have 2 sockets connected with the same parameters. Therefore, if you have a firewall installed and have the ClientRMIPortNumber (defined in the file) locked down to a single port only one client session is allowed.



Release: AAMOS499000-8.0-Automic Applications Manager-OS400 Agent


If the RmiServer is behind a firewall only the RMIRegistryPortNumber and the RMIDataPortNumber (specified in the file) need to be open in the RmiServer's firewall (defaults to 1099). 

Remove the ClientRMIPortNumber from the file, if it exists, or set it to 0 to allow more than one client session to be opened. 


For more information pertaining to these settings, see the Applications Manager documentation:

Installation Guide > CA Automic Applications Manager Installation--Advanced Topics > Automation Engine, Agent, and Client Firewall Connections