When the AL is also available in the configuration AutoStart list it
seems that the ITDI GUI starts the server listener twice - and
although only one of the instances fails the server is actually
listening on the specified port but is defunct.
Removing the AutoStart entry fixes the problem - but this is
inconvenient as I now how to add it back again to make it work in
service mode.
Should I report this as a PMR (ITDI is 7.0 FP6) ?
Regards
Franz Wolfhagen
You could try using a semaphore-like value that your AL checks before
starting. For example, in the AL Before Init Hook you could have
something like this:
----
lock = java.lang.System.getProperties().get("myLock")
if (lock != null) {
java.lang.System.getProperties().set("myLock", "locked")
} else {
task.shutdown() // stop the AL
}
----
I have not tested this myself (at the local store here in the
mountains - and they have installed wireless!). But hopefully this
will stop the doubled-up starting the of the server mode Connector.
And on second thought, doesn't the second server mode based AL fail
when the port is already in use?
-Eddie