Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/email@hidden

This email sent to email@hidden
References: 
 >Inaccurate active session count in JavaMonitor (From: "Cheong Hee (Gmail)" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.