Re: Where is the deadlock culprit?
Re: Where is the deadlock culprit?
- Subject: Re: Where is the deadlock culprit?
- From: Ken Anderson <email@hidden>
- Date: Wed, 3 Dec 2008 15:23:12 -0500
Or...
public void sleep() {
try {
// your code here
} (Exception e) {
logger.error("Exception thrown in sleep code", e);
} finally {
super.sleep();
}
}
On Dec 3, 2008, at 3:17 PM, Chuck Hill wrote:
On Dec 3, 2008, at 12:15 PM, Kieran Kelleher wrote:
You mean wrap contents of sleep and terminate with try/catch and
don't throw, just log it?
That is what I started doing long ago. I think this is a better
solution:
public void sleep() {
try {
// your code here
} finally {
super.sleep();
}
}
Chuck
On Dec 3, 2008, at 2:55 PM, Chuck Hill wrote:
I can confidently claim to be completely unsure. ;-) If the
MultiECLockManager still had it locked, it may not be able to. I
don't use ERXEC so I really don't know. Check your Sessions()
sleep() and terminate() methods (and any super class you have) to
ensure that they can't throw an exception.
--
Chuck Hill Senior Consultant / VP Development
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
_______________________________________________
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