cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <>
Subject RE: [Flow] Serious problem with cocoon.getComponent(id)
Date Thu, 03 Jul 2003 10:40:51 GMT
Hi Chris,

thank you very much, your changes solved the problems perfectly!

The only issue that remains is the 

"uncaught JavaScript exception: TypeError: calculator is not a

This error only occurs if I use JMeter to test it. If I change the flow
interpreter to "JavaScript" (old version) everything works fine. I can't
find any differences in the logs or the response headers. 

Do you have any idea?


> From: Christopher Oliver []
> Ok, I looked into this further and it seems to be simply a matter of 
> FOM_JavaScriptInterpreter not being thread-safe. I was under the
> (incorrect) impression that thread synchronization was
> occuring outside 
> of the flow intepreter. That seems to not be the case. I just 
> checked in 
> code to synchronize on the thread's JS global object. Let me know if 
> this fixes the problem.
> Regards,
> Chris

View raw message