Adding the code as mentioned earlier, I have run three sessions with the
following conditions:
session1: log out gracefully by the user
session2: time out occurs
session3: time out occurs
The sequence of sessions are session1, following by session2 and then
session3.
When session1 is terminated by the user, the log shows session.terminate()
is called and the active session count is reduced by 1. So the total active
session count = 2.
When session2 is time out, the log also shows that session.terminate() is
called. However the active session count does not reduce, and keep the
count = 2.
The session3 is the last session being time out. The log again shows that
session.terminate() is called, however the active session count = 2. The
only difference is when timeout, session.terminate() is invoked by Session
Timeout Thread whereas the normal log out session.terminate() is callled by
WorkerThread.
JavaMonitor also showed the active count = 2. And the count will be there
forever until the next stop-start sequence of instance.
Any idea to solve this or reduce the count somewhere by coding when timeout
happens?
Cheers
Cheong Hee
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to arch...@mail-archive.com