Hi Kieran / Xavier -
I was going to ask what the formal way of doing this was. I have this
in the app constructor:
// Don't use that damn shared context!
ERXEC.factory().setUseSharedEditingContext(false);
EOSharedEditingContext.setDefaultSharedEditingContext(null);
Is that enough to stop the shared EC being used ?
I also thought of using the LockingErrorScreamingEditingContext, but
after poking around ERXEC a little I'm not sure how to fit it in. How
would I get ERXEC.newEditingContext() to instantiate a custom EC
subclass ?
I also noticed ERXEC has some lock logging of it's own. I think I'll
turn that on too and see what happens.
Simon
On 16 Nov 2007, at 14:39, Kieran Kelleher wrote:
Wonder ERXExtensions has a property to disable this too as far as I
know.
On Nov 16, 2007, at 8:22 AM, WO Dev wrote:
Hello Simon,
We had the same issue with an application using sharedEditingContext.
I don't know if that's your case, but on our side, removing the
use of sharedEditingContext resolved the issue.
Xavier
Hi All -
We have a deadlock problem with an app. Typically in such
situations I follow Andrew Lindesay's excellent tutorial on using
JDB to grab a thread dump off a hung instance and start digging
from there. However, with this particular deadlock JDB doesn't
work - i type "jdb -attach 8121" and then .... nothing. It just
sits there. If i then kill off the instance in another terminal
the jdb terminal springs into life saying the JVM has vanished.
I've checked I can connect to it and get a thread dump when the
app is running happily so it must be the deadlock that is causing
the problem.
Any ideas what is going wrong with JDB ? Or any advice on another
way of tracking down the deadlock ?
Thanks, Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%
40anazys.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%
40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]