If active session count is meaningful than the one in JavaMonitor, I will do
a log after each session log out. Is there any way to get the session logs
something at the point of session time out occurs?
Will look into thread dump too and see if deadlocks. Thanks.
----- Original Message -----
From: "Chuck Hill" <ch...@global-village.net>
To: "Cheong Hee (Gmail)" <chn...@gmail.com>
Cc: <webobjects-deploy@lists.apple.com>
Sent: Thursday, July 16, 2009 12:21 AM
Subject: Re: Inaccurate active session count in JavaMonitor
On Jul 15, 2009, at 2:14 AM, Cheong Hee (Gmail) wrote:
I believe most have observed the active session count in JavaMonitor is
not accurate when the session is ended due to time out. The count
reduced if the session terminate e.g. user log out. I have not tried it
out but it is quite obvious this count may be taken from
Application.activeSessionCount().
It posed an issue as the session count (due to timeout) seemed to remain
there forever, and it leaves us uncertain if we are to stop and restart
the instance. Has anyone got any to share so that a more accurate active
session count to rely on?
Cheers
Cheong Hee
The memory usage stats are meaningless, but the active session count
has been accurate in my experience. I suspect that your code has bugs
in it that are preventing session termination. Get a thread dump and
see if you have deadlocked threads.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Learn WO at WOWODC'09 East in Montréal this August!
http://www.wocommunity.org/wowodc09/east
http://arstechnica.com/apple/news/2009/07/webobjects-sliced-from-106but-prognosis-of-death-premature.ars
_______________________________________________
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