We launch our Ignition Client (Igntion Server 7.9.6 - Java 1.8.0-161)
with the clientlauncher (Ignition 7.9.6 - Windows 7.64 bits - Java 1.8.0-161)
clientlauncher.exe gateway.addr=10.11.1.4:8088 gateway.backup.addr=10.11.8.4:8088 scope=C project=DEV_L2_NORD windowmode=fullscreen screen=0 retries=2 timeoutsecs=30 -Djavaws.launchparams="start_IHMMode;start_screen" -Djavaws.launchparam.start_IHMMode=0 -Djavaws.launchparam.start_screen=0
When we stop gateway master and backup,
It seem that the parameters retries and timeoutsecs have no effect.
The client never show the “Gateway Configuration screen”.
In the doc for the retries parameter :
How many times to attempt to contact a gateway again if an error occurred during communication. The default setting of -1 cause the client launcher to try again forever until the client launcher is manually closed. A setting of 0 will cause the client launcher to abort communication after the first failure and display the Gateway Configuration screen. A setting of 1 or more will cause the client launcher to make X more attempts before aborting and showing the Gateway Configuration screen.
In the user log, retries and timeoutsecs parameters seems not to be used
INFO [ClientLauncherFrame ] [12:23:32,602]: Using java executable under D:\appli\start\jre INFO [ClientLauncherFrame ] [12:23:32,603]: Starting Java with the following parameters:java -classpath C:\Users\lionel\.ignition\clientlauncher-data\launchclient.jar -Djavaws.sr.gateway.addr.0=10.11.1.4:8088/main -Djavaws.sr.scope=C -Djavaws.sr.launchts=1526552610752 -Djavaws.sr.main=com.inductiveautomation.factorypmi.application.runtime.ClientLaunchHook -Djavaws.sr.platform.edition= -Xms32M -Xmx4096M -XX:MaxPermSize=128m -Dsun.java2d.d3d=false -Djavaws.sr.project=DEV_L2_NORD -Djavaws.sr.screen=0 -Djavaws.launchparams=start_IHMMode;start_screen -Djavaws.launchparam.start_IHMMode=0 -Djavaws.launchparam.start_screen=0 com.inductiveautomation.ignition.client.launch.BootstrapSwingFS
If I stop the client and restart it (with the same command), retries and timeoutsecs are used, and the “Gateway Configuration screen” is shown after 2 retry.
It seem that these parameters are used only at the client start time but not in case the client lose the communication with the gateway ???
This is a bug or an intentional behavior ??? I would like to be able to display the “Gateway Configuration screen” when the client is disconnected from the gateway…