Erik,
thanks for your answer. Meanwile, I made some tests whithin my servlet-container (tomcat 5.0). Post-requests are absolutely no problem for tomcat. It has no queue, no synchronized behaviour, nothing. In Orbeon it is still the same: I am not able to do two (ore more) post-requests in parallel. Did anyone encounter the same problem? And has anyone found a solution or even a hint? thanks emil -- 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 -----Ursprüngliche Nachricht----- Von: Erik Bruchez [mailto:[hidden email]] Im Auftrag von Erik Bruchez Gesendet: 23 June 2006 14:18 An: [hidden email] Betreff: Re: [ops-users] xforms:submissions seem to be queued 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 |
Administrator
|
Hi Emil,
I tried but didn't manage to reproduce the issue you describe. This is what I did: 1) I created a "service" that return the current UNIX time in a <time> element, but waits 10 seconds before returning this. You can run it at: http://www.scdi.org/~avernet/try/time.php 2) I created an XForms with a trigger which makes a submission to the service. It runs in the sandbox and the source is attached. 3) I load that example in the sandbox in 2 windows. I then click on the submit button in both windows "at the same time". The 2 requests are sent to the service as soon as I click on the button, and I receive a response in both windows about 10 seconds after I clicked on the button. Like Erik said, there is nothing I know of in OPS that would prevent two (or more) concurrent requests. Can you reproduce the above test in your environment and see if you get the same result? Alex On 6/29/06, emil müller <[hidden email]> wrote: > Erik, > > thanks for your answer. > Meanwile, I made some tests whithin my servlet-container (tomcat 5.0). Post-requests are absolutely no problem for tomcat. It has no queue, no synchronized behaviour, nothing. > In Orbeon it is still the same: I am not able to do two (ore more) post-requests in parallel. > > Did anyone encounter the same problem? And has anyone found a solution or even a hint? > > thanks > emil > > -- > 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 > > -----Ursprüngliche Nachricht----- > Von: Erik Bruchez [mailto:[hidden email]] Im Auftrag von Erik Bruchez > Gesendet: 23 June 2006 14:18 > An: [hidden email] > Betreff: Re: [ops-users] xforms:submissions seem to be queued > > 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 > > > -- Blog (XML, Web apps, Open Source): 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 action-load-target.xhtml (1K) Download Attachment
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |