|
Re: Inaccurate active session count in JavaMonitor: msg#00092webobjects-deploy
On Jul 20, 2009, at 3:12 AM, Cheong Hee (Gmail) wrote: 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. If adding the finally made it work, that indicates that an exception was thrown somewhere in the previous code. There must be somewhere seriously locking the session. No, your terminate was throwing an exception. Add this before the finally: catch (RuntimeException e) { NSLog.out.appendln(e); throw e; } 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. You want to look at the code BEFORE the call to super. Chuck ----- Original Message ----- From: "Chuck Hill" <chill@xxxxxxxxxxxxxxxxxx > -- 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 |