Deadlock when a session timeout
Deadlock when a session timeout
- Subject: Deadlock when a session timeout
- From: Daniel Muller <email@hidden>
- Date: Mon, 29 Aug 2005 06:28:10 -0700 (PDT)
Hi,
Is there any known deadlock when a session timeout, particularly with
the shared editing context?
One of my application does some cleaning when the session timeout, and
a deadlock occurs rarely (not more than 3x during 12 months). The Java
threads dump shows a wait call related to the shared editing context
(last EOF calls are: NSRecursiveLock.lock, and
EOSharedEditingContext.lock for the other thread) but the EC created
when session is terminating has not shared EC (explicit call to
setSharedEditingContext(null)).
I try the same application without the cleaning code, it works well for
more than 2 months. I also checked the code using the shared EC to
ensure it uses only methods of EOSharedEditingContext class and not
explicit calls to EOF, like fetching object with normal API.
Regards,
Daniel
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
_______________________________________________
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