On 05.02.2008, at 01:52, Frank Stock wrote:

I am writing an application to update Frontbase from FileMaker.
I use AjaxLongResponse in my interface to see the progress in the browser.
But I always get an error:
<er.ajax.AjaxRequestHandler>: Exception occurred while handling request: java.lang.IllegalStateException: Illegal Lock usage: unlocking thread not owner.

Seems that your are accessing your editing contexts not correctly. Make sure, that you don't access eos in your thread, that are not in a thread local editing context and vice versa.

If you want to transfer objects through thread boundaries, the safest way is only passing in global ids and resolving them again in the thread. Look at ERXEOControlUtilities, there are helper methods for that.

cug

--
Real-World WebObjects class at the Big Nerd Ranch
March 2008, Frankfurt, Germany
http://www.bignerdranch.com/classes/webobjects.shtml



_______________________________________________
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]

Reply via email to