|
Re: Inaccurate active session count in JavaMonitor: msg#00091webobjects-deploy
Brilliant! An add-on "finally" statement did get the active session count down as expected in JavaMonitor. I have read through wiki about the WOSession and its session lock, but not this bit of information to force it to terminate. Will update later. There must be somewhere seriously locking the session. As of now, all worked fine except the last statement after the call to super.terminate() will never executed, e.g. NSLog statement for activeSessionCount(). I am not quite sure why it is unable to terminate, could it due to eo in wocomponent. And just checked my code that no WOSession has been declared in any wocomponent. At the point of sending my previous email, I had not yet received the email about try-finally suggestion. So apology if any ignorance and thanks... Cheers Cheong Hee ----- Original Message ----- From: "Chuck Hill" <chill@xxxxxxxxxxxxxxxxxx> To: "Cheong Hee (Gmail)" <chng34@xxxxxxxxx> Cc: <webobjects-deploy@xxxxxxxxxxxxxxx> Sent: Saturday, July 18, 2009 1:27 AM Subject: Re: Inaccurate active session count in JavaMonitor On Jul 17, 2009, at 10:15 AM, Cheong Hee (Gmail) wrote: Adding the code as mentioned earlier, I have run three sessions with the following conditions: Something is very wrong with your application. I can't guess what it is. Did you add the try...finally to terminate like I suggested? If not, that is the first thing to so. 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@xxxxxxxxxxxxxxx) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/maillists%40codeha.us This email sent to maillists@xxxxxxxxx
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |