So I’ve got a large instance I want to update every 2
minutes via a submission. I’m using dispatch to do so with the
following code: <xforms:action ev:event="xforms-ready"> <xforms:dispatch ev:event="auto-refresh"
delay="120000" name="refresh"
target="mainModel"/> </xforms:action>
<xforms:action ev:event="refresh"> <xforms:send submission="refresh-list"/> <xforms:dispatch delay="120000"
name="refresh" target="mainModel"/> </xforms:action> <xforms:submission id="refresh-list"
ref="instance('list-instance')" method="get" replace="instance"
instance="list-instance" action="http://myurl"/> Each time I do this, I get: xforms-submit-error - setting throwable {throwable:
"java.net.SocketException: Invalid argument: socket write error at
java.net.SocketOutputStream.socketWrite0(Native Method) at
java.net.SocketOutputStream.socketWrite(Unknown Source) at
java.net.SocketOutputStream.write(Unknown Source) at
java.io.BufferedOutputStream.write(Unknown Source) at
org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:975) at
org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:943) at
org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java:1033)… or xforms-submit-error - setting throwable {throwable:
"java.net.SocketException: Connection reset by peer: socket write error at
java.net.SocketOutputStream.socketWrite0(Native Method) at
java.net.SocketOutputStream.socketWrite(Unknown Source) at
java.net.SocketOutputStream.write(Unknown Source) at
java.io.BufferedOutputStream.write(Unknown Source) at
org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:975) at
org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:943) at
org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java:1033)… However, I’m pretty sure this is an issue with
dispatch because I use a submission to update another instance (using a
submission 95% similar to the one above) and that works just fine. But,
the one that works uses a trigger to fire the submission. Can anyone help? I can’t really provide an
example for the sandbox because you wouldn’t be able to access my
webservice. Thanks, Stephanie -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Stephanie,
The fact that the submission runs in response to a dispatch shouldn't change anything. But just to rule this out, can you run it upon a trigger activation? Otherwise, I don't see what to do other than analyzing the HTTP traffic between Orbeon Forms and the service you're calling with a tool like HTTP Scoop or Wireshark. Alex On Fri, Apr 9, 2010 at 9:56 AM, Stephanie Hall (TT) <[hidden email]> wrote: > So I’ve got a large instance I want to update every 2 minutes via a > submission. I’m using dispatch to do so with the following code: > > > > <xforms:action ev:event="xforms-ready"> > > <xforms:dispatch ev:event="auto-refresh" delay="120000" name="refresh" > target="mainModel"/> > > </xforms:action> > > > > <xforms:action ev:event="refresh"> > > <xforms:send submission="refresh-list"/> > > <xforms:dispatch delay="120000" name="refresh" target="mainModel"/> > > </xforms:action> > > > > <xforms:submission id="refresh-list" ref="instance('list-instance')" > method="get" replace="instance" instance="list-instance" > action="http://myurl"/> > > > > Each time I do this, I get: > > > > xforms-submit-error - setting throwable {throwable: > "java.net.SocketException: Invalid argument: socket write error > > at java.net.SocketOutputStream.socketWrite0(Native Method) > > at java.net.SocketOutputStream.socketWrite(Unknown Source) > > at java.net.SocketOutputStream.write(Unknown Source) > > at java.io.BufferedOutputStream.write(Unknown Source) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:975) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:943) > > at > org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java:1033)… > > > > or > > > > xforms-submit-error - setting throwable {throwable: > "java.net.SocketException: Connection reset by peer: socket write error > > at java.net.SocketOutputStream.socketWrite0(Native Method) > > at java.net.SocketOutputStream.socketWrite(Unknown Source) > > at java.net.SocketOutputStream.write(Unknown Source) > > at java.io.BufferedOutputStream.write(Unknown Source) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:975) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:943) > > at > org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java:1033)… > > > > However, I’m pretty sure this is an issue with dispatch because I use a > submission to update another instance (using a submission 95% similar to the > one above) and that works just fine. But, the one that works uses a trigger > to fire the submission. > > > > Can anyone help? I can’t really provide an example for the sandbox because > you wouldn’t be able to access my webservice. > > > > Thanks, > > Stephanie > > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
It seems to get the error using a submission, also. java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(Unknown Source) at java.net.SocketOutputStream.write(Unknown Source) at java.io.BufferedOutputStream.write(Unknown Source) at org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:975) at org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:943) at org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java:1033) ... Thanks, Stephanie -----Original Message----- From: Alessandro Vernet [mailto:[hidden email]] Sent: Friday, April 09, 2010 5:13 PM To: [hidden email] Subject: [ops-users] Re: Error using xforms:dispatch Stephanie, The fact that the submission runs in response to a dispatch shouldn't change anything. But just to rule this out, can you run it upon a trigger activation? Otherwise, I don't see what to do other than analyzing the HTTP traffic between Orbeon Forms and the service you're calling with a tool like HTTP Scoop or Wireshark. Alex On Fri, Apr 9, 2010 at 9:56 AM, Stephanie Hall (TT) <[hidden email]> wrote: > So I've got a large instance I want to update every 2 minutes via a > submission. I'm using dispatch to do so with the following code: > > > > <xforms:action ev:event="xforms-ready"> > > <xforms:dispatch ev:event="auto-refresh" delay="120000" name="refresh" > target="mainModel"/> > > </xforms:action> > > > > <xforms:action ev:event="refresh"> > > <xforms:send submission="refresh-list"/> > > <xforms:dispatch delay="120000" name="refresh" > target="mainModel"/> > > </xforms:action> > > > > <xforms:submission id="refresh-list" ref="instance('list-instance')" > method="get" replace="instance" instance="list-instance" > action="http://myurl"/> > > > > Each time I do this, I get: > > > > xforms-submit-error - setting throwable {throwable: > "java.net.SocketException: Invalid argument: socket write error > > at java.net.SocketOutputStream.socketWrite0(Native > Method) > > at java.net.SocketOutputStream.socketWrite(Unknown > Source) > > at java.net.SocketOutputStream.write(Unknown Source) > > at java.io.BufferedOutputStream.write(Unknown Source) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java > :975) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java > :943) > > at > org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java > :1033)... > > > > or > > > > xforms-submit-error - setting throwable {throwable: > "java.net.SocketException: Connection reset by peer: socket write > error > > at java.net.SocketOutputStream.socketWrite0(Native > Method) > > at java.net.SocketOutputStream.socketWrite(Unknown > Source) > > at java.net.SocketOutputStream.write(Unknown Source) > > at java.io.BufferedOutputStream.write(Unknown Source) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java > :975) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java > :943) > > at > org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java > :1033)... > > > > However, I'm pretty sure this is an issue with dispatch because I use > a submission to update another instance (using a submission 95% > similar to the one above) and that works just fine. But, the one that > works uses a trigger to fire the submission. > > > > Can anyone help? I can't really provide an example for the sandbox > because you wouldn't be able to access my webservice. > > > > Thanks, > > Stephanie > > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Does Orbeon have some kind of cutoff as far as the size of the data that is coming back over the submission? I've looked in my service's logs and the request from the form isn't even getting to the webservice. Like I said in my original post, I am able to refresh an instance via a submission just fine as long as it is a small instance. This one that is having the problem is quite large (about 937KB when I save it to my desktop).
-----Original Message----- From: Stephanie Hall (TT) [mailto:[hidden email]] Sent: Monday, April 12, 2010 9:28 AM To: [hidden email] Subject: [ops-users] RE: Re: Error using xforms:dispatch Hi Alex, It seems to get the error using a submission, also. java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(Unknown Source) at java.net.SocketOutputStream.write(Unknown Source) at java.io.BufferedOutputStream.write(Unknown Source) at org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:975) at org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:943) at org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java:1033) ... Thanks, Stephanie -----Original Message----- From: Alessandro Vernet [mailto:[hidden email]] Sent: Friday, April 09, 2010 5:13 PM To: [hidden email] Subject: [ops-users] Re: Error using xforms:dispatch Stephanie, The fact that the submission runs in response to a dispatch shouldn't change anything. But just to rule this out, can you run it upon a trigger activation? Otherwise, I don't see what to do other than analyzing the HTTP traffic between Orbeon Forms and the service you're calling with a tool like HTTP Scoop or Wireshark. Alex On Fri, Apr 9, 2010 at 9:56 AM, Stephanie Hall (TT) <[hidden email]> wrote: > So I've got a large instance I want to update every 2 minutes via a > submission. I'm using dispatch to do so with the following code: > > > > <xforms:action ev:event="xforms-ready"> > > <xforms:dispatch ev:event="auto-refresh" delay="120000" name="refresh" > target="mainModel"/> > > </xforms:action> > > > > <xforms:action ev:event="refresh"> > > <xforms:send submission="refresh-list"/> > > <xforms:dispatch delay="120000" name="refresh" > target="mainModel"/> > > </xforms:action> > > > > <xforms:submission id="refresh-list" ref="instance('list-instance')" > method="get" replace="instance" instance="list-instance" > action="http://myurl"/> > > > > Each time I do this, I get: > > > > xforms-submit-error - setting throwable {throwable: > "java.net.SocketException: Invalid argument: socket write error > > at java.net.SocketOutputStream.socketWrite0(Native > Method) > > at java.net.SocketOutputStream.socketWrite(Unknown > Source) > > at java.net.SocketOutputStream.write(Unknown Source) > > at java.io.BufferedOutputStream.write(Unknown Source) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java > :975) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java > :943) > > at > org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java > :1033)... > > > > or > > > > xforms-submit-error - setting throwable {throwable: > "java.net.SocketException: Connection reset by peer: socket write > error > > at java.net.SocketOutputStream.socketWrite0(Native > Method) > > at java.net.SocketOutputStream.socketWrite(Unknown > Source) > > at java.net.SocketOutputStream.write(Unknown Source) > > at java.io.BufferedOutputStream.write(Unknown Source) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java > :975) > > at > org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java > :943) > > at > org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java > :1033)... > > > > However, I'm pretty sure this is an issue with dispatch because I use > a submission to update another instance (using a submission 95% > similar to the one above) and that works just fine. But, the one that > works uses a trigger to fire the submission. > > > > Can anyone help? I can't really provide an example for the sandbox > because you wouldn't be able to access my webservice. > > > > Thanks, > > Stephanie > > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
I am out of the office until 19th April *********************************************************************************************** This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.
Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.
Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards. *********************************************************************************************** The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG
|
Administrator
|
In reply to this post by Stephanie Hall (TT)
Stephanie,
As far as I know there is no limit on the size of the submissions (other than the VM running out of memory). Could you try adding to your properties-local.xml: <property as="xs:NMTOKENS" name="oxf.xforms.logging.debug" value="document event action submission submission-details submission-body server server-body control html"/> And to your log4j.xml: <category name="org.orbeon.oxf.xforms.processor.XFormsServer"> <priority value="debug"/> </category> Then checking what you have in the orbeon.log when you run that submission. Alex On Wed, Apr 14, 2010 at 9:28 AM, Stephanie Hall (TT) <[hidden email]> wrote: > Does Orbeon have some kind of cutoff as far as the size of the data that is coming back over the submission? I've looked in my service's logs and the request from the form isn't even getting to the webservice. Like I said in my original post, I am able to refresh an instance via a submission just fine as long as it is a small instance. This one that is having the problem is quite large (about 937KB when I save it to my desktop). > > -----Original Message----- > From: Stephanie Hall (TT) [mailto:[hidden email]] > Sent: Monday, April 12, 2010 9:28 AM > To: [hidden email] > Subject: [ops-users] RE: Re: Error using xforms:dispatch > > Hi Alex, > > It seems to get the error using a submission, also. > > java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) > at java.net.SocketOutputStream.socketWrite(Unknown Source) > at java.net.SocketOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:975) > at org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:943) > at org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java:1033) > ... > > Thanks, > Stephanie > > -----Original Message----- > From: Alessandro Vernet [mailto:[hidden email]] > Sent: Friday, April 09, 2010 5:13 PM > To: [hidden email] > Subject: [ops-users] Re: Error using xforms:dispatch > > Stephanie, > > The fact that the submission runs in response to a dispatch shouldn't change anything. But just to rule this out, can you run it upon a trigger activation? Otherwise, I don't see what to do other than analyzing the HTTP traffic between Orbeon Forms and the service you're calling with a tool like HTTP Scoop or Wireshark. > > Alex > > On Fri, Apr 9, 2010 at 9:56 AM, Stephanie Hall (TT) <[hidden email]> wrote: >> So I've got a large instance I want to update every 2 minutes via a >> submission. I'm using dispatch to do so with the following code: >> >> >> >> <xforms:action ev:event="xforms-ready"> >> >> <xforms:dispatch ev:event="auto-refresh" delay="120000" name="refresh" >> target="mainModel"/> >> >> </xforms:action> >> >> >> >> <xforms:action ev:event="refresh"> >> >> <xforms:send submission="refresh-list"/> >> >> <xforms:dispatch delay="120000" name="refresh" >> target="mainModel"/> >> >> </xforms:action> >> >> >> >> <xforms:submission id="refresh-list" ref="instance('list-instance')" >> method="get" replace="instance" instance="list-instance" >> action="http://myurl"/> >> >> >> >> Each time I do this, I get: >> >> >> >> xforms-submit-error - setting throwable {throwable: >> "java.net.SocketException: Invalid argument: socket write error >> >> at java.net.SocketOutputStream.socketWrite0(Native >> Method) >> >> at java.net.SocketOutputStream.socketWrite(Unknown >> Source) >> >> at java.net.SocketOutputStream.write(Unknown Source) >> >> at java.io.BufferedOutputStream.write(Unknown Source) >> >> at >> org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java >> :975) >> >> at >> org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java >> :943) >> >> at >> org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java >> :1033)... >> >> >> >> or >> >> >> >> xforms-submit-error - setting throwable {throwable: >> "java.net.SocketException: Connection reset by peer: socket write >> error >> >> at java.net.SocketOutputStream.socketWrite0(Native >> Method) >> >> at java.net.SocketOutputStream.socketWrite(Unknown >> Source) >> >> at java.net.SocketOutputStream.write(Unknown Source) >> >> at java.io.BufferedOutputStream.write(Unknown Source) >> >> at >> org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java >> :975) >> >> at >> org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java >> :943) >> >> at >> org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java >> :1033)... >> >> >> >> However, I'm pretty sure this is an issue with dispatch because I use >> a submission to update another instance (using a submission 95% >> similar to the one above) and that works just fine. But, the one that >> works uses a trigger to fire the submission. >> >> >> >> Can anyone help? I can't really provide an example for the sandbox >> because you wouldn't be able to access my webservice. >> >> >> >> Thanks, >> >> Stephanie >> >> >> >> -- >> 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 >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > > > > -- > Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |