big amount of data

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

big amount of data

Dmitry Belous
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>
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
Reply | Threaded
Open this post in threaded view
|

Re: big amount of data

Raoul
Hi Dmitry,

I have the same problem.
Did you manage to fix this problem?

If so...how?

Thanks,

Raoul
Reply | Threaded
Open this post in threaded view
|

Re: Re: big amount of data

Alessandro  Vernet
Administrator
Raoul,

Orbeon Forms tries to use persistent connections when talking to your
service. This is done to avoid the cost of establishing a new HTTP
connection for every call (which besides improving performance also
solves other problems on some platforms), and this might explain why
you see a difference between the first and the second call.

Who is responding to that HTTP call? Is it Tomcat, or Apache, or some
other piece of software? Would you be able to trace the HTTP calls to
see exactly what goes over the wire?

Alex

On Tuesday, November 10, 2009, Raoul <[hidden email]> wrote:

>
> Hi Dmitry,
>
> I have the same problem.
> Did you manage to fix this problem?
>
> If so...how?
>
> Thanks,
>
> Raoul
> --
> View this message in context: http://n4.nabble.com/big-amount-of-data-tp41567p585293.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: big amount of data

Raoul
Hi Alex,

Thanks for your reply.

I hope this is the data you asked for.
The first GET loads the big amount of data.
After the data is loaded I trigger an another load of the data, but then the socketexception occurs.

I hope you have a solution for my problem.

Raoul

GET /orbvoplapp/resources/restServices/prioreducation/prioreducationsbyidpreselect/1 HTTP/1.1
Cookie: JSESSIONID=DD89FE14041BA180D6877E3F7C2655E7.jboss1
User-Agent: Jakarta Commons-HttpClient/3.0.1
Host: localhost:7070


HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA_CP01 (build: SVNTag=JBPAPP_4_3_0_GA_CP01 date=200804211657)/Tomcat-5.5
Content-Type: text/xml
Transfer-Encoding: chunked
Date: Thu, 12 Nov 2009 10:55:34 GMT

<LST_VOOROPLEIDING>BIG AMOUNT OF DATA</LST_VOOROPLEIDING>

POST /orbvoplapp/orbeon/xforms-server HTTP/1.1
Host: localhost:7070
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: nl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Content-Type: application/xml; charset=UTF-8
Referer: http://localhost:7070/orbvoplapp/resources/vooropleiding/voplwizardn.xhtml
Content-Length: 582
Cookie: JSESSIONID=DD89FE14041BA180D6877E3F7C2655E7.jboss1
Pragma: no-cache
Cache-Control: no-cache

<!DOCTYPE xxforms:event-request [<!ENTITY nbsp "&#160;">]>
<xxforms:event-request xmlns:xxforms="http://orbeon.org/oxf/xml/xforms">
    <xxforms:static-state>pers:7556ACFE-97BB-A32D-DC82-0B042EB3FF7D</xxforms:static-state>
    <xxforms:dynamic-state>pers:87A5B570-DB6C-33DD-8195-9700BDDFEFD5</xxforms:dynamic-state>
    <xxforms:action>
        <xxforms:event name="DOMFocusOut" source-control-id="diplomaRadio-control"></xxforms:event>
        <xxforms:event name="DOMFocusIn" source-control-id="vooroplcombo-control"></xxforms:event>
    </xxforms:action>
</xxforms:event-request>

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA_CP01 (build: SVNTag=JBPAPP_4_3_0_GA_CP01 date=200804211657)/Tomcat-5.5
Last-Modified: Thu, 12 Nov 2009 10:55:53 GMT
Expires: Thu, 12 Nov 2009 10:55:53 GMT
Cache-Control: public
Pragma:
Content-Type: application/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 12 Nov 2009 10:55:53 GMT


POST /orbvoplapp/orbeon/xforms-server HTTP/1.1
Host: localhost:7070
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: nl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Content-Type: application/xml; charset=UTF-8
Referer: http://localhost:7070/orbvoplapp/resources/vooropleiding/voplwizardn.xhtml
Content-Length: 522
Cookie: JSESSIONID=DD89FE14041BA180D6877E3F7C2655E7.jboss1
Pragma: no-cache
Cache-Control: no-cache

<!DOCTYPE xxforms:event-request [<!ENTITY nbsp "&#160;">]>
<xxforms:event-request xmlns:xxforms="http://orbeon.org/oxf/xml/xforms">
    <xxforms:static-state>pers:7556ACFE-97BB-A32D-DC82-0B042EB3FF7D</xxforms:static-state>
    <xxforms:dynamic-state>pers:87A5B570-DB6C-33DD-8195-9700BDDFEFD5</xxforms:dynamic-state>
    <xxforms:action>
        <xxforms:event name="xxforms-value-change-with-focus-change" source-control-id="vooroplcombo-control">cnLaLKF335s=</xxforms:event>
    </xxforms:action>
</xxforms:event-request>

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA_CP01 (build: SVNTag=JBPAPP_4_3_0_GA_CP01 date=200804211657)/Tomcat-5.5
Last-Modified: Thu, 12 Nov 2009 10:55:58 GMT
Expires: Thu, 12 Nov 2009 10:55:58 GMT
Cache-Control: public
Pragma:
Content-Type: application/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 12 Nov 2009 10:55:58 GMT



Alessandro Vernet-2 wrote
Raoul,

Orbeon Forms tries to use persistent connections when talking to your
service. This is done to avoid the cost of establishing a new HTTP
connection for every call (which besides improving performance also
solves other problems on some platforms), and this might explain why
you see a difference between the first and the second call.

Who is responding to that HTTP call? Is it Tomcat, or Apache, or some
other piece of software? Would you be able to trace the HTTP calls to
see exactly what goes over the wire?

Alex

On Tuesday, November 10, 2009, Raoul <lieraoul@hotmail.com> wrote:
>
> Hi Dmitry,
>
> I have the same problem.
> Did you manage to fix this problem?
>
> If so...how?
>
> Thanks,
>
> Raoul
> --
> View this message in context: http://n4.nabble.com/big-amount-of-data-tp41567p585293.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>

--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: big amount of data

Alessandro  Vernet
Administrator
Raoul,

On Thu, Nov 12, 2009 at 3:09 AM, Raoul <[hidden email]> wrote:
> Thanks for your reply.
>
> I hope this is the data you asked for.
> The first GET loads the big amount of data.
> After the data is loaded I trigger an another load of the data, but then the
> socketexception occurs.

My understanding is that the error happens between Orbeon Forms and
the service you are calling. Here you have the HTTP connections
between the browser and Orbeon Forms. So we would need to look at the
same thing, but between Orbeon Forms and your service.

Also, what technology is your service implemented in? What is
answering the HTTP queries?

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: big amount of data

Raoul
Alex,

I once more traced the http requests.
After the first load of the data there is no more http communication between Orbeon Forms and
the service I'm calling. I think that is where the socket exception occurs. When I trigger Orbeon Forms to load the data for the second time the socketexception occurs...so the request is never sent to the service. The service that I call is a JBoss rest easy webservice.

This is how my service looks like:

  @GET
  @Produces("text/xml")
  @Path("/prioreducationsbyidpreselect/{id_preselect}")
  @XmlHeader("<?xml type='text/xml' encoding='UTF-8'?>")
  public String getPriorEducationsByIdPreSelect(@PathParam("id_preselect") String id)
  {
    log.info("getPriorEducationsByIdPreSelect()");
    return retrieve("SELECT_PRIOR_EDUCATIONS_BY_PRESELECT", new String[] { id });
  }

Raoul

Alessandro Vernet-2 wrote
Raoul,

On Thu, Nov 12, 2009 at 3:09 AM, Raoul <lieraoul@hotmail.com> wrote:
> Thanks for your reply.
>
> I hope this is the data you asked for.
> The first GET loads the big amount of data.
> After the data is loaded I trigger an another load of the data, but then the
> socketexception occurs.

My understanding is that the error happens between Orbeon Forms and
the service you are calling. Here you have the HTTP connections
between the browser and Orbeon Forms. So we would need to look at the
same thing, but between Orbeon Forms and your service.

Also, what technology is your service implemented in? What is
answering the HTTP queries?

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: big amount of data

Alessandro  Vernet
Administrator
Raoul,

On Fri, Nov 13, 2009 at 12:08 AM, Raoul <[hidden email]> wrote:
> I once more traced the http requests.
> After the first load of the data there is no more http communication between
> Orbeon Forms and
> the service I'm calling. I think that is where the socket exception occurs.
> When I trigger Orbeon Forms to load the data for the second time the
> socketexception occurs...so the request is never sent to the service. The
> service that I call is a JBoss rest easy webservice.

Can you see if the TCP/IP connection is closed after the first
request? Could it be possible that the server closes the connection,
and that somehow Orbeon Forms (or rather the HTTPClient code we use)
doesn't know about it, and fails when it tries to send the next query?

You could try to:

* See if in JBoss there is a way to enable the support for persistent
connections, if this is not enabled by default.
* Disable the support for persistent connections in Orbeon Forms by
changing the code: in HTTPURLConnection, instead of creating a
MultiThreadedHttpConnectionManager, create a
SimpleHttpConnectionManager(true) – the true is to tell the HTTPClient
to always close the connection.

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: big amount of data

Raoul
Alex,

I tried to disable the support for persistent connections in Orbeon Forms by
changing the code in HTTPURLConnection, but now I get a NoSuchMethod exception when I try to load my page. (see below)

I don't know why this is happening.
First I downloaded the source code at http://github.com/orbeon/orbeon-forms/tree/master
Then I modified the file, executed the orbeon-war ant script and deployed the new war file.
I also checked if the new HTTPURLConnection class file is part of the new war file....and it is.

Do you know why I get this behaviour?

Raoul


10:46:47,817 INFO  [Paged] values.dbx INDEX Buffers occupation : 0% (0 out of 64) Cache efficiency : N/A
10:46:47,817 INFO  [Paged] values.dbx DATA Buffers occupation : 0% (0 out of 64) Cache efficiency : N/A
10:48:29,750 INFO  [ProcessorService] Servlet - Servlet initialized.
10:48:29,781 INFO  [ProcessorService] /xforms-renderer - Received request
10:48:31,515 ERROR [ProcessorService] Exception with no location data
java.lang.NoSuchMethodError: org.apache.commons.httpclient.SimpleHttpConnectionManager.<init>(Z)V
        at org.orbeon.oxf.resources.handler.HTTPURLConnection.<clinit>(HTTPURLConnection.java:45)
        at org.orbeon.oxf.resources.handler.HTTPHandler.openConnection(HTTPHandler.java:28)
        at java.net.URL.openConnection(URL.java:942)
        at org.orbeon.oxf.util.Connection.connect(Connection.java:369)
        at org.orbeon.oxf.util.Connection.open(Connection.java:93)
        at org.orbeon.oxf.processor.generator.URLGenerator$URLResourceHandler.openConnection(URLGenerator.java:801)
        at org.orbeon.oxf.processor.generator.URLGenerator$URLResourceHandler.getResourceMediaType(URLGenerator.java:763)
        at org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:419)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.xml.ProcessorOutputXMLReader.parse(ProcessorOutputXMLReader.java:40)
        at org.orbeon.oxf.processor.xinclude.XIncludeProcessor$XIncludeContentHandler.startElement(XIncludeProcessor.java:226)
        at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:230)
        at org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1$1.read(XIncludeProcessor.java:87)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:457)
        at org.orbeon.oxf.processor.xinclude.XIncludeProcessor.access$100(XIncludeProcessor.java:41)
        at org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1.readImpl(XIncludeProcessor.java:79)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:567)
        at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:542)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:563)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:567)
        at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:542)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:563)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:378)
        at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:411)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:457)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:124)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:94)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:92)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:567)
        at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:542)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:563)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:567)
        at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:542)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:64)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:563)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:378)
        at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:411)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:457)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:245)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:245)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
        at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
        at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.orbeon.oxf.servlet.OrbeonXFormsFilter.doFilter(OrbeonXFormsFilter.java:101)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:595)
10:48:31,515 INFO  [ProcessorService] /xforms-renderer - Timing: 1750 - Cache hits for cache.main: 15, fault: 23, adds: 20, expirations
: 0, success rate: 39%
10:48:31,515 INFO  [ProcessorService] /xforms-renderer - Received request
10:48:32,593 INFO  [ProcessorService] /config/theme/error.css - Received request
10:48:32,921 INFO  [ProcessorService] /xforms-renderer - Timing: 1406 - Cache hits for cache.main: 21, fault: 36, adds: 38, expirations
: 0, success rate: 36%
10:48:32,937 ERROR [ProcessorService] Exception with no location data
org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load "/page-flow.xml" with webapp loader
        at org.orbeon.oxf.resources.WebAppResourceManagerImpl.getContentAsStream(WebAppResourceManagerImpl.java:74)
        at org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:124)
        at org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(PriorityResourceManagerImpl.java:121)
        at org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:250)
        at org.orbeon.oxf.resources.PriorityResourceManagerImpl.getContentAsSAX(PriorityResourceManagerImpl.java:119)
        at org.orbeon.oxf.processor.generator.URLGenerator$OXFResourceHandler.readXML(URLGenerator.java:716)
        at org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:457)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:44)
        at org.orbeon.oxf.processor.validation.MSVValidationProcessor$3.readImpl(MSVValidationProcessor.java:219)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:369)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:388)
        at org.orbeon.oxf.processor.PageFlowControllerProcessor$1.read(PageFlowControllerProcessor.java:95)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:457)
        at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:93)
        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
        at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
        at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.orbeon.oxf.servlet.OrbeonXFormsFilter.doFilter(OrbeonXFormsFilter.java:64)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:595)
10:48:32,937 INFO  [ProcessorService] /config/theme/error.css - Timing: 344 - Cache hits for cache.main: 1, fault: 4, adds: 2, expirati
ons: 0, success rate: 20%
10:48:32,937 INFO  [ProcessorService] /config/theme/error.css - Received request
10:48:33,312 INFO  [ProcessorService] /config/theme/error.css - Timing: 375 - Cache hits for cache.main: 14, fault: 17, adds: 17, expir
ations: 0, success rate: 45%


 
Alessandro Vernet-2 wrote
Raoul,

On Fri, Nov 13, 2009 at 12:08 AM, Raoul <lieraoul@hotmail.com> wrote:
> I once more traced the http requests.
> After the first load of the data there is no more http communication between
> Orbeon Forms and
> the service I'm calling. I think that is where the socket exception occurs.
> When I trigger Orbeon Forms to load the data for the second time the
> socketexception occurs...so the request is never sent to the service. The
> service that I call is a JBoss rest easy webservice.

Can you see if the TCP/IP connection is closed after the first
request? Could it be possible that the server closes the connection,
and that somehow Orbeon Forms (or rather the HTTPClient code we use)
doesn't know about it, and fails when it tries to send the next query?

You could try to:

* See if in JBoss there is a way to enable the support for persistent
connections, if this is not enabled by default.
* Disable the support for persistent connections in Orbeon Forms by
changing the code: in HTTPURLConnection, instead of creating a
MultiThreadedHttpConnectionManager, create a
SimpleHttpConnectionManager(true) – the true is to tell the HTTPClient
to always close the connection.

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: big amount of data

Erik Bruchez
Administrator
Raoul,

Not sure why that's not working. You might have to use a debugger to
figure this out better.

-Erik

On Tue, Nov 17, 2009 at 1:54 AM, Raoul <[hidden email]> wrote:

>
> Alex,
>
> I tried to disable the support for persistent connections in Orbeon Forms by
> changing the code in HTTPURLConnection, but now I get a NoSuchMethod
> exception when I try to load my page. (see below)
>
> I don't know why this is happening.
> First I downloaded the source code at
> http://github.com/orbeon/orbeon-forms/tree/master
> Then I modified the file, executed the orbeon-war ant script and deployed
> the new war file.
> I also checked if the new HTTPURLConnection class file is part of the new
> war file....and it is.
>
> Do you know why I get this behaviour?
>
> Raoul
>
>
> 10:46:47,817 INFO  [Paged] values.dbx INDEX Buffers occupation : 0% (0 out
> of 64) Cache efficiency : N/A
> 10:46:47,817 INFO  [Paged] values.dbx DATA Buffers occupation : 0% (0 out of
> 64) Cache efficiency : N/A
> 10:48:29,750 INFO  [ProcessorService] Servlet - Servlet initialized.
> 10:48:29,781 INFO  [ProcessorService] /xforms-renderer - Received request
> 10:48:31,515 ERROR [ProcessorService] Exception with no location data
> java.lang.NoSuchMethodError:
> org.apache.commons.httpclient.SimpleHttpConnectionManager.<init>(Z)V
>        at
> org.orbeon.oxf.resources.handler.HTTPURLConnection.<clinit>(HTTPURLConnection.java:45)
>        at
> org.orbeon.oxf.resources.handler.HTTPHandler.openConnection(HTTPHandler.java:28)
>        at java.net.URL.openConnection(URL.java:942)
>        at org.orbeon.oxf.util.Connection.connect(Connection.java:369)
>        at org.orbeon.oxf.util.Connection.open(Connection.java:93)
>        at
> org.orbeon.oxf.processor.generator.URLGenerator$URLResourceHandler.openConnection(URLGenerator.java:801)
>        at
> org.orbeon.oxf.processor.generator.URLGenerator$URLResourceHandler.getResourceMediaType(URLGenerator.java:763)
>        at
> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:419)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.xml.ProcessorOutputXMLReader.parse(ProcessorOutputXMLReader.java:40)
>        at
> org.orbeon.oxf.processor.xinclude.XIncludeProcessor$XIncludeContentHandler.startElement(XIncludeProcessor.java:226)
>        at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:230)
>        at
> org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1$1.read(XIncludeProcessor.java:87)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:457)
>        at
> org.orbeon.oxf.processor.xinclude.XIncludeProcessor.access$100(XIncludeProcessor.java:41)
>        at
> org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1.readImpl(XIncludeProcessor.java:79)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:567)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:542)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:563)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35)
>        at
> org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:567)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:542)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:563)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35)
>        at
> org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:378)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:411)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:457)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:124)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:94)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:92)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:567)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:542)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:563)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:567)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:542)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:64)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:563)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35)
>        at
> org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:378)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:411)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:457)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:245)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:245)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
>        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
>        at
> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>        at
> org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>        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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
>        at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
>        at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
>        at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>        at
> org.orbeon.oxf.servlet.OrbeonXFormsFilter.doFilter(OrbeonXFormsFilter.java:101)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>        at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
>        at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>        at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>        at java.lang.Thread.run(Thread.java:595)
> 10:48:31,515 INFO  [ProcessorService] /xforms-renderer - Timing: 1750 -
> Cache hits for cache.main: 15, fault: 23, adds: 20, expirations
> : 0, success rate: 39%
> 10:48:31,515 INFO  [ProcessorService] /xforms-renderer - Received request
> 10:48:32,593 INFO  [ProcessorService] /config/theme/error.css - Received
> request
> 10:48:32,921 INFO  [ProcessorService] /xforms-renderer - Timing: 1406 -
> Cache hits for cache.main: 21, fault: 36, adds: 38, expirations
> : 0, success rate: 36%
> 10:48:32,937 ERROR [ProcessorService] Exception with no location data
> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load
> "/page-flow.xml" with webapp loader
>        at
> org.orbeon.oxf.resources.WebAppResourceManagerImpl.getContentAsStream(WebAppResourceManagerImpl.java:74)
>        at
> org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:124)
>        at
> org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(PriorityResourceManagerImpl.java:121)
>        at
> org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:250)
>        at
> org.orbeon.oxf.resources.PriorityResourceManagerImpl.getContentAsSAX(PriorityResourceManagerImpl.java:119)
>        at
> org.orbeon.oxf.processor.generator.URLGenerator$OXFResourceHandler.readXML(URLGenerator.java:716)
>        at
> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:457)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:44)
>        at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$3.readImpl(MSVValidationProcessor.java:219)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:996)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1179)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:351)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:369)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:388)
>        at
> org.orbeon.oxf.processor.PageFlowControllerProcessor$1.read(PageFlowControllerProcessor.java:95)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:457)
>        at
> org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:93)
>        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
>        at
> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>        at
> org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>        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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
>        at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
>        at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
>        at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>        at
> org.orbeon.oxf.servlet.OrbeonXFormsFilter.doFilter(OrbeonXFormsFilter.java:64)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>        at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
>        at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>        at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>        at java.lang.Thread.run(Thread.java:595)
> 10:48:32,937 INFO  [ProcessorService] /config/theme/error.css - Timing: 344
> - Cache hits for cache.main: 1, fault: 4, adds: 2, expirati
> ons: 0, success rate: 20%
> 10:48:32,937 INFO  [ProcessorService] /config/theme/error.css - Received
> request
> 10:48:33,312 INFO  [ProcessorService] /config/theme/error.css - Timing: 375
> - Cache hits for cache.main: 14, fault: 17, adds: 17, expir
> ations: 0, success rate: 45%
>
>
>
>
> Alessandro Vernet-2 wrote:
>>
>> Raoul,
>>
>> On Fri, Nov 13, 2009 at 12:08 AM, Raoul <[hidden email]> wrote:
>>> I once more traced the http requests.
>>> After the first load of the data there is no more http communication
>>> between
>>> Orbeon Forms and
>>> the service I'm calling. I think that is where the socket exception
>>> occurs.
>>> When I trigger Orbeon Forms to load the data for the second time the
>>> socketexception occurs...so the request is never sent to the service. The
>>> service that I call is a JBoss rest easy webservice.
>>
>> Can you see if the TCP/IP connection is closed after the first
>> request? Could it be possible that the server closes the connection,
>> and that somehow Orbeon Forms (or rather the HTTPClient code we use)
>> doesn't know about it, and fails when it tries to send the next query?
>>
>> You could try to:
>>
>> * See if in JBoss there is a way to enable the support for persistent
>> connections, if this is not enabled by default.
>> * Disable the support for persistent connections in Orbeon Forms by
>> changing the code: in HTTPURLConnection, instead of creating a
>> MultiThreadedHttpConnectionManager, create a
>> SimpleHttpConnectionManager(true) – the true is to tell the HTTPClient
>> to always close the connection.
>>
>> Alex
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise
>> Orbeon's Blog: http://www.orbeon.com/blog/
>> 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
>>
>>
>
> --
> View this message in context: http://n4.nabble.com/big-amount-of-data-tp41567p622665.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
> --
> 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
>
>


--
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