On 9/13/06, Gary Perez <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Thanks to everyone for your suggestions, investigations, etc.
> especially to Christoph Zwerschke, who discovered what turned out to
> be the cause of the problem.
>
> Don't use os.chdir() in a threaded environment.
>
> I apologize to everyone if this is common knowledge, but it's news to
> me. At Chris' suggestion, removing the chdir calls in the two modules
> fixes the problem, and everything works as expected.

After launching, should the WebKit app server do something like this:

def bad_chdir(path):
    raise Exception('You cannot reliably use os.chdir() in a threaded
environment.')

os.chdir = bad_chdir

?

Seems like this would catch this kind of error early on and save
people some time.

-Chuck

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to