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
function."

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?

Reinhard


> From: Christopher Oliver [mailto:[EMAIL PROTECTED]
> 
> 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

Reply via email to