Regarding Carl’s Point 1 Above: We removed the command script with delay and put a shortcut to the client launcher in the Windows Startup menu along with a shortcut to baretail.exe (configured to highlight the line you note) with a command line parameter to load wrapper.log. 1 designer and 3 external clients (not on the gateway PC) were already running when we did a Windows Restart on the gateway PC. Below is the wrapper.log tail. In all cases the client launcher (not client) was displayed until the first seven (of eight total) lines were shown in the log below (note lines 2-7 varied in order with each restart). During this time it says, “[color=#008000]Connect error, trying again…[/color]” Then the client launcher briefly states “[color=#008000]Downloading projects…[/color]” and then disappears. A moment after that the client shows up with the status box displaying startup progress in the middle of the screen (it gets to “[color=#008000]Establishing Session[/color]”), followed by the login screen. No more lines were added to the log below after the login screen came up, and when testing without a designer running, the last line is omitted.:
[quote=“wrapper.log”]INFO | jvm 1 | 2014/01/15 15:56:55 | INFO [SRContext ] [15:56:55,816]: [color=#0000BF]Ignition["/main", state=STARTING] ContextState = RUNNING[/color]
INFO | jvm 1 | 2014/01/15 15:56:56 | INFO [CompactLogixDriver[L33ER]] [15:56:56,863]: Processor info: Vendor=1, Product Type=14, Product Code=107, Revision=20.13, Product Name=1769-L33ER/A LOGIX5333ER
INFO | jvm 1 | 2014/01/15 15:56:57 | INFO [TagHistoryDatasourceSink ] [15:56:56,964]: SQLTags history tables verified successfully.
INFO | jvm 1 | 2014/01/15 15:56:58 | INFO [CompactLogixDriver[L33ER]] [15:56:57,985]: [L33ER] Using cached tag data, processor edit number(48640) matches cached edit number(48640).
INFO | jvm 1 | 2014/01/15 15:57:00 | INFO [ActivateSessionService ] [15:57:00,609]: User “{schedule=Always, username=opcuauser, lastname=, language=null, firstname=, notes=}” connected.
INFO | jvm 1 | 2014/01/15 15:57:02 | INFO [Projects$ProjectChangeMonitor ] [15:57:02,123]: Starting up client project monitor. project=A, uuid=148df963-8779-ccd2-d75e-30f732efd43c, editCount=193, scope=4, version=Published
INFO | jvm 1 | 2014/01/15 15:57:02 | INFO [Projects$ProjectChangeMonitor ] [15:57:02,142]: Starting up client project monitor. project=A, uuid=148df963-8779-ccd2-d75e-30f732efd43c, editCount=193, scope=4, version=Published
INFO | jvm 1 | 2014/01/15 15:57:10 | WARN [SQL_Bridge-A ] [15:57:10,151]: Tried to perform RPC operation on an unrecognized session. May indicate that the previous session was lost. Creating RPC listener for new session id.
[/quote]
We tested as stated above a few times and then retried with no Designer (just the 3 external clients) running during the gateway Windows restart. All produced the results detailed above.
After all of the above tests (each repeated two or more times), I closed an external client, so we were down to no designers and 2 external clients. This time the log was as above except that the second “[color=#0000FF]Projects$ProjectChangeMonitor[/color]” came after the client started, and auto login did NOT fail. I tested this three times with the same results. I then re-opened the third external client and re-tested several times with the same results noted prior to this paragraph (auto login failure and log as noted above). And later on–after everything noted further down this post, I tried this one more time: auto login failed, but the “[color=#0000FF]Projects$ProjectChangeMonitor[/color]” line did not occur at all (it always had on previous restarts and I’m not sure why the difference here). At least in this case, it appears the auto login failure does NOT occur unless 3 or more external (not on gateway PC) clients are open during the gateway PC Windows restart.
FYI:
a) Throughout the testing I noticed there seems to be some very noticeable variation in how long it takes for the gateway to reach [color=#0000BF]Ignition["/main", state=STARTING] ContextState = RUNNING[/color].
b) The Ignition Gateway web interface does not show the client on the login screen as one of the connected clients.
All of the above tests and results occurred during Windows restarts (not just an Ignition Gateway restart). [color=#BF8000]After it all we tried the following (still with 3 external clients open, which caused a failed auto login consistently for the local gateway client on Windows restart as noted above):
1 - Close local client
2 - Stop gateway via Ignition Gateway Control Utility
3 - Start local client
4 - Start gateway via Ignition Gateway Control Utility
First Test Result: As in Windows restart tests above, except successful auto login with 3 external clients running and “[/color][color=#0000FF]Projects$ProjectChangeMonitor[/color][color=#BF8000]” line occured only one time in the log, after the client launched.
Second Test Result: As in Windows restart tests above with 3 external clients running (auto login failed). “[/color][color=#0000FF]Projects$ProjectChangeMonitor[/color][color=#BF8000]” line did not occur at all in the log.[/color]
Regarding Carl’s Point 2 Above: We’re working on getting this; it’s a bit of a trick to get gcu.exe up and running soon enough after windows restart to catch this.