Hi
I created a form with big number of fields. I load form data by following line: <xforms:send submission="get-patient-submission" ev:event="xforms-ready"/> Form load successfully. I have a button on form that do some changes and then reload form data. I use following code: <xforms:group> <xforms:action ev:event="DOMActivate"> <xforms:send submission="add-emergency-contact-submission" /> <xforms:send submission="get-patient-submission"/> </xforms:action> <xforms:trigger appearance="minimal" ref="."> <xforms:label> <img src="../../../apps/forms/images/add.gif" alt="Add" /> </xforms:label> </xforms:trigger> </xforms:group> But when "get-patient-submission" return big amount of data I got "socket write error" exception. Any ideas how can I solve this. This is log: 2008-11-26 17:10:25,415 INFO ProcessorService - /mforms/patients/detail/add-emergency-contact - Received request 2008-11-26 17:10:25,493 INFO ProcessorService - /xforms-server - Timing: 125 - Cache hits for cache.main: 24, fault: 1, adds: 0, expirations: 0, success rate: 96% 2008-11-26 17:10:25,509 INFO DatabaseContext - Committing JDBC connection for datasource: [com.microsoft.sqlserver.jdbc.SQLServerDriver|jdbc:sqlserver://localhost;DatabaseName=orbeon|sa]. 2008-11-26 17:10:25,509 INFO ProcessorService - /mforms/patients/detail/add-emergency-contact - Timing: 94 - Cache hits for cache.main: 330, fault: 2, adds: 0, expirations: 0, success rate: 99% 2008-11-26 17:10:26,570 INFO ProcessorService - /xforms-server - Received request 2008-11-26 17:10:26,602 INFO HttpMethodDirector - I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: socket write error 2008-11-26 17:10:26,602 INFO HttpMethodDirector - Retrying request 2008-11-26 17:10:26,602 INFO HttpMethodDirector - I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: socket write error 2008-11-26 17:10:26,602 INFO HttpMethodDirector - Retrying request 2008-11-26 17:10:26,602 INFO HttpMethodDirector - I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: socket write error 2008-11-26 17:10:26,602 INFO HttpMethodDirector - Retrying request 2008-11-26 17:10:26,602 ERROR XFormsServer - XForms - submission - xforms-submit-error throwable: java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.orbeon.oxf.resources.handler.HTTPURLConnection.connect(HTTPURLConnection.java:144) at org.orbeon.oxf.util.NetUtils.openConnection(NetUtils.java:1166) at org.orbeon.oxf.util.NetUtils.openConnection(NetUtils.java:949) at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:858) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1283) at org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:51) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:230) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:190) at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:61) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:230) at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:190) at org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:184) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1264) at org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:939) at org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventHandleDeferredEvents(XFormsServer.java:467) at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:356) at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:58) at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:84) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:949) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350) at org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44) at org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:973) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350) at org.orbeon.oxf.processor.converter.XMLConverter.readInput(XMLConverter.java:67) at org.orbeon.oxf.processor.converter.TextConverterBase$1.readImpl(TextConverterBase.java:80) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350) at org.orbeon.oxf.processor.serializer.HttpSerializer.readInput(HttpSerializer.java:42) at org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:182) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:242) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) -- Dmitry -- 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 |
Free forum by Nabble | Edit this page |