Hi,
Our application is using iNews WS (v. 1.6.0.5) to query the iNews server in a redundancy setup. When main application is connected, the backup application is idle, so at the begining we have only one session active (one Tomcat session and one API-session for WebService in iNews server).
In our lab, works fine this setup, but one of our customers encountered a problem.
When they close the main application, the iNews Web service on the backup server connects automatically to iNews server, and thus they end up with 2 sessions active in Tomcat and probably 1 API-session in iNews server (we call _systemService.Disconnect(new DisconnectType()) to disconnect WS when the application is closed). Tomcat is set to expire idle sessions after 1 min, so one of the sessions in Tomcat is invalidated after 1 min has passed since the main application was closed. So there is no problem with this.
Now, if they start the main application again, the iNews WebService fails to connect to iNews server with the following error: "Not currently connected to iNEWS. Call connect before attempting to setCurrentQueue".
When main is started again, the iNews WS probably tries to open a second session. My guess would have been that there are no more API-sessions available in iNews server for WebService to connect to, but from what I know the default licence for Avid iNews Web Service is for 5 concurrent API sessions, right?
How to check the number configured for the API-sessions on the iNews server? In an older post, I got the following command to type at the iNews server console: "/exc/list type=api c", but I get the following when I try this on our iNews server in the lab (not at customer):
DEV DEVICE_TYPE COMPUTER NOTIFY OPTIONS DEVNAME
a900:904 gnews A
And I can't see from this what is the number configured for API-sessions allowed.
Can you help us with this problem?
Than you!