Re: Bad DirectAction freezes instance...
Re: Bad DirectAction freezes instance...
- Subject: Re: Bad DirectAction freezes instance...
- From: Chuck Hill <email@hidden>
- Date: Wed, 4 Jan 2006 12:20:24 -0800
On Jan 4, 2006, at 12:14 PM, James Cicenia wrote:
Anyone have any obvious ideas why a bad directAction would freeze
an instance?
I noticed this from a bad link going to a non-existent DirectAction.
It might vary by version :-(, but in at least some versions, if
performAction throws and there is a session, the session will not get
checked in which deadlocks that session. If the app is not
dispatching requests concurrently, that will deadlock the entire app.
The solution to that one is to wrap performAction in a try..catch
block and pass the exception off to Application.handleException.
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden