Re: "Cannot obtain globalId for an object which..."
Re: "Cannot obtain globalId for an object which..."
- Subject: Re: "Cannot obtain globalId for an object which..."
- From: email@hidden
- Date: Mon, 17 Nov 2003 12:30:18 CDT
- Priority: 3 (Normal)
[demime could not interpret encoding binary - treating as plain text]
On Sat, 15 Nov 2003 19:35:51 +0100 Kaj Hejer wrote:
> You might try to add the following code to your application (we have
> this in the constructor in Application.java):
>
> NSLog.setAllowedDebugLevel(NSLog.DebugLevelInformational);
> NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupMultithreading);
> setAllowsConcurrentRequestHandling(true);
Alas, I do not want to set my large and complex application to allow
concurrent request handling. It never has allowed concurrent request
handling before, and I don't want to deploy it with that setting without
extensive testing and thinking about what's going on, to be sure it's not
going to cause any problems.
--Jonathan
>
>
> Then you will be informed if you access any ec which isn't locked.
> You will see something like
>
> [2003-11-03 17:02:54 CET] <WorkerThread13> *** EOEditingContext:
> access with no lock: recordForGID()!
> [2003-11-03 17:02:54 CET] <WorkerThread13> java.lang.Exception: This
> is not a real exception, just a stack trace of the location of the
> missing lock:
> at
>
com.webobjects.eocontrol.EOEditingContext._EOAssertSafeMultiThreadedAccess
(EOEditingContext.java:4193)
> at
> ...
>
> which include a stacktrace that show where the ec was accessed.
>
>
> -Kaj :)
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.