This post was updated on .
Hi Team,
We have installed Orbeon Forms 3.8.201208142337 PE in one of our new production environments. In all the previous environments, it works just fine. But in this environment, we are continously getting "connection reset" issues. We are not even able to open Form Runner's example forms like - orbeon/xforms-government/detail/DMV-14/. Error that we get is: 2013-06-12 12:29:07,341 INFO SecurityFilter - ********in do filter ********* 2013-06-12 12:29:07,341 INFO OrbeonSessionListener - Session Listener - Session created. 2013-06-12 12:29:07,342 INFO ProcessorService - /xforms-government/detail/DMV-14/ - Received request 2013-06-12 12:29:12,108 ERROR ProcessorService - Exception at http://prod04.zzzzzzzz.com/orbeon/xforms-government/service/resources/DMV-14/en java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) 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:205) at org.orbeon.oxf.util.Connection.connect(Connection.java:479) at org.orbeon.oxf.util.Connection.open(Connection.java:94) at org.orbeon.oxf.processor.URIProcessorOutputImpl.readURLToStateIfNeeded(URIProcessorOutputImpl.java:408) at org.orbeon.oxf.xforms.processor.XFormsURIResolver.resolve(XFormsURIResolver.java:97) at org.orbeon.oxf.xforms.processor.XFormsURIResolver.readURLAsDocument(XFormsURIResolver.java:129) at org.orbeon.oxf.xforms.XFormsModel.loadInstance(XFormsModel.java:887) at org.orbeon.oxf.xforms.XFormsModel.loadExternalInstance(XFormsModel.java:767) at org.orbeon.oxf.xforms.XFormsModel.loadInstance(XFormsModel.java:674) at org.orbeon.oxf.xforms.XFormsModel.doModelConstruct(XFormsModel.java:591) We tried increasing tomcat memory and that helped a little (somewhat less number of errors), but we still see "connection reset" errors. Any clues? Thanks Payal |
Administrator
|
Hi Payal,
Interesting. To figure this out could you set the logging to "development mode", per the section linked below. Then restart Tomcat, reload the page, and see if you find any interesting information in the orbeon.log. And of course, feel free to attach the log file to a response here. http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging#TOC-Development-configuration Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex, Thanks a lot for taking a look at this. I have added the debugging parameters that you asked for. Attached is the log generated. Thanks
Payal On Wed, Jun 12, 2013 at 10:32 PM, Alessandro Vernet <[hidden email]> wrote: Hi Payal, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. catalina.out (2M) Download Attachment |
Hello Payal,
Many of the examples use the xhtml doctype with the W3C uri, http://www.w3.org/TR/html4/strict.dtd When these pages are parsed, the parser reads the dtd and entity files from the W3C site. If it cannot connect, you may get this problem. You could try WGET or similar utility from your server when you see this problem. Just a guess. --Hank P.S. You can put local copies of the DTD and change the uri and doing this can improve your performance. On Thu, Jun 13, 2013 at 1:03 PM, Garg, Payal <[hidden email]> wrote: > Hi Alex, > > Thanks a lot for taking a look at this. I have added the debugging > parameters that you asked for. Attached is the log generated. > > Thanks > Payal > > > On Wed, Jun 12, 2013 at 10:32 PM, Alessandro Vernet <[hidden email]> > wrote: >> >> Hi Payal, >> >> Interesting. To figure this out could you set the logging to "development >> mode", per the section linked below. Then restart Tomcat, reload the page, >> and see if you find any interesting information in the orbeon.log. And of >> course, feel free to attach the log file to a response here. >> >> >> http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging#TOC-Development-configuration >> >> Alex >> >> ----- >> -- >> Follow Orbeon on Twitter: @orbeon >> Follow me on Twitter: @avernet >> -- >> View this message in context: >> http://discuss.orbeon.com/Connection-reset-issue-tp4656898p4656901.html >> Sent from the Orbeon Forms community mailing list mailing list archive at >> Nabble.com. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Orbeon Forms" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [hidden email]. >> To post to this group, send email to [hidden email]. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Orbeon Forms" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [hidden email]. > To post to this group, send email to [hidden email]. > > -- Hank Ratzesberger XMLWerks.com -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
In reply to this post by PayalGarg27
Hi Payal,
From the log, it seems it can't load: http://prod04.pearsonelt.com/orbeon/xforms-government/service/resources/DMV-14/en I can access that resource from here, but maybe your network configuration doesn't allow for the URL to be loaded from the server itself? If that is the case, setting the oxf.url-rewriting.service.base-uri property should help you get around this. http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-base#TOC-oxf.url-rewriting.service.base-uri Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |