Hi everyone,

I'm currently using 5.4B6 and we are doing uploads of XML data (using the
standard Tapestry Upload/UploadFile mechanism -- no multi-file AJAX/etc
extensions).

When we upload a small file, it processes just fine, but on a larger file
(which takes several minutes to process), multiple threads are created
along with multiple onValidate/onSuccess calls (and no, we weren't
double-clicking the submit button).  The second thread
and onValidate/onSuccess get created/called 30 seconds after the original
invocation.  This can cause duplicate inserts into the database or other
shenanigans.

Another oddity:

Chrome: Always 2 threads.
Firefox: Always 2 threads.
Safari: Always 2+ threads (we'd just kill the app instead of letting it run
for hours)

Has anyone else experienced this before?  Is it an issue with 5.4 (we don't
seem to have the issue in 5.3)?  Another possibility is Jetty is kicking
off the additional threads when a response isn't generated in time, but it
seems odd that many more threads get kicked off when connecting via Safari
instead of Chrome/Firefox.

Thanks,

mrg

PS. We worked around the issue by creating an upload status page and doing
the processing in the background with an AJAX update, so no hurry for a
resolution, just wanted to ask about a possible 5.4 issue.

Reply via email to