Thanks for you help so far, Mike and Chuck. I've kind of hit a wall here. AFAICS, Mike's recent commit didn't fix this issue for me.

I've narrowed it down to touching EOF in LSApplication.didFinishLaunching(): if I remove the offending code in there, I can't reproduce the problem. Firstly I want to know if I'm doing something wrong—should I not be touching EOF in didFinishLaunching()? (And if so, where else can I do some post- launch loading of EOs?)

But secondly I'm interested in any workarounds.

On 04/11/2009, at 11:49 AM, Mike Schrag wrote:

So I never see this because I use migrations on every app, so the models are touched early all the time ... But if i turn off migrations, it does look like it's not triggered until the first EOF request.

I don't use migrations, but is there any way I can force the model loading to occur earlier? Is there any way to block the app from taking requests until the models have loaded? I guess I just need anything to make this deterministic—at the moment, success seems to depend on how fast the models are loaded after touching EOF in didFinishLaunching(). (Interestingly, I haven't reproduced this problem on my Mac Pro—presumably it's fast enough to get everything done in time every time.)


--
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to