Re: Deadlocks
Re: Deadlocks
- Subject: Re: Deadlocks
- From: Steven Mark McCraw <email@hidden>
- Date: Wed, 5 Sep 2007 19:12:51 -0400
You are probably safe for general EC usage there, but you can still
do other bad things and end up deadlocked.
There are many great things in the "win" column for WebObjects, but I
believe one of the definite negatives of the technology is how
ridiculously easy it is to deadlock a webobjects application. You
have to take the bad with the good. This is miserably scary and
nasty until you learn to dump the thread stack traces (see the URL
Guido posted earlier: http://tinyurl.com/3bpkkv. Learning the
tricks shown here cost me a week of sleep once, but now it's
beautifully documented, so profit from the work people have done to
write up these instructions). Once you have the stack traces in
hand, it becomes pretty obvious where the problem is and you can fix
it. Look for the thread which isn't stuck in a wait queue or
sleeping while waiting for requests.
Mark
_______________________________________________
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