xforms:submissions seem to be queued

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms:submissions seem to be queued

emil müller
Hello all,

I send as submission to my Java-Processor which has to start a process that takes up to one minute to complete. My problem is that when ever I send the same submission from another user/browser before the first one has finished the second submission waits until the first finishes. In other words, the  execution of the submissions seem to be queued. The cause is not Java based (no method is synchronized or anything similar).

I am using Orbeon 3.01.

For details see submission below.

Thanks emil


---
<xforms:submission id="transliterate-submission" encoding="UTF-8" ref="instance('main-instance')" method="post" replace="all" action="/aml/add">
        <xforms:toggle case="transliterator-wait" ev:event="xforms-submit"/>
        <xforms:toggle case="done" ev:event="xforms-submit-done"/>
</xforms:submission>



---


--
emil müller                                NETBREEZE GMBH
mail: [hidden email]               Ringstr. 12
tel: +41 44 824 32 54                      CH-8600 Dübendorf
Web: http://www.netbreeze.ch               Switzerland






--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms:submissions seem to be queued

Erik Bruchez
Administrator
Emil, I don't think we synchronize or otherwise limit submissions, but
it would be good to know where the server hangs. Under Windows, I think
hyou can do ctrl-break to see a dump of all the threads. Maybe you can
determine where the thread that is waiting is? Also, you may want to
make sure that your servlet container is not queuing requests.

-Erik

emil müller wrote:

> Hello all,
>
> I send as submission to my Java-Processor which has to start a process that takes up to one minute to complete. My problem is that when ever I send the same submission from another user/browser before the first one has finished the second submission waits until the first finishes. In other words, the  execution of the submissions seem to be queued. The cause is not Java based (no method is synchronized or anything similar).
>
> I am using Orbeon 3.01.
>
> For details see submission below.
>
> Thanks emil
>
>
> ---
> <xforms:submission id="transliterate-submission" encoding="UTF-8" ref="instance('main-instance')" method="post" replace="all" action="/aml/add">
> <xforms:toggle case="transliterator-wait" ev:event="xforms-submit"/>
> <xforms:toggle case="done" ev:event="xforms-submit-done"/>
> </xforms:submission>
>
>
>
> ---
>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws