Hello,
I'm new with orbeon and I'm trying to use orbeon to render xforms. I encontered a problem when the xforms document is processed. I get a java.net.ConnectException: Connection refused Exception. I think this is due to the fact that I'm behind a proxy. I would like to know if there is a config file to set the proxy to be used or another way to do that. I try to set the proxy using the next code with no results: System.setProperty("http.proxyHost", "myproxyhost") System.setProperty("http.proxyPort", "8080") I' m using glassfish to deploy the orbeon war. I hope somenone could help me. Thanks in advance. Here is what I get from the orbeon logs: 2007-10-10 14:56:44,284 httpSSLWorkerThread-9240-0 INFO httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 2007-10-10 14:56:44,284 httpSSLWorkerThread-9240-0 INFO httpclient.HttpMethodDirector - Retrying request 2007-10-10 14:56:44,287 httpSSLWorkerThread-9240-0 INFO httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException ) caught when processing request: Connection refused 2007-10-10 14:56:44,287 httpSSLWorkerThread-9240-0 INFO httpclient.HttpMethodDirector - Retrying request 2007-10-10 14:56:44,288 httpSSLWorkerThread-9240-0 INFO httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused 2007-10-10 14:56:44,288 httpSSLWorkerThread-9240-0 INFO httpclient.HttpMethodDirector - Retrying request 2007-10-10 14:56:44,299 httpSSLWorkerThread-9240-0 ERROR webapp.ProcessorService - Exception at line 39, column 56 of oxf:/ops/xforms/xforms-renderer.xpl (reading processor output: name='data', id='extracted-document') java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at sun.reflect.GeneratedMethodAccessor56.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.enterprise.server.ss.provider.ASPlainSocketImpl$2.run (ASPlainSocketImpl.java:419) at java.security.AccessController.doPrivileged(Native Method) at com.sun.enterprise.server.ss.provider.ASPlainSocketImpl._invoke(ASPlainSocketImpl.java:416) at com.sun.enterprise.server.ss.provider.ASPlainSocketImpl.connect(ASPlainSocketImpl.java:288) at com.sun.enterprise.server.ss.provider.ASClientSocketImpl.connect(ASClientSocketImpl.java:267) at java.net.Socket.connect (Socket.java:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:239) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open (HttpConnection.java:706) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry (HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at org.orbeon.oxf.resources.handler.HTTPURLConnection.connect(HTTPURLConnection.java:122) at org.orbeon.oxf.resources.handler.HTTPURLConnection.getInputStream (HTTPURLConnection.java:128) at org.orbeon.oxf.xml.XMLUtils$EntityResolver.resolveEntity(XMLUtils.java:217) at orbeon.apache.xerces.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java :108) at orbeon.apache.xerces.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:670) at orbeon.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:981) at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324) at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845) at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768) at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108) at orbeon.apache.xerces.parsers.AbstractSAXParser.parse (AbstractSAXParser.java:1201) at org.orbeon.oxf.xml.XMLUtils.inputSourceToSAX(XMLUtils.java:273) at org.orbeon.oxf.xml.XMLUtils.readerToSAX(XMLUtils.java:264) at org.orbeon.oxf.xml.XMLUtils.stringToSAX (XMLUtils.java:252) at org.orbeon.oxf.processor.scope.ScopeGenerator$1.fillOutState(ScopeGenerator.java:124) at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java :1441) at org.orbeon.oxf.processor.scope.ScopeGenerator$1.readImpl(ScopeGenerator.java:55) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read (ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36) at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read (ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:412) at org.orbeon.oxf.processor.ProcessorImpl$5.read(ProcessorImpl.java:445) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree (ProcessorImpl.java:443) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:184) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java :652) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649) 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:831) at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService (ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java :703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at org.orbeon.oxf.servlet.OPSXFormsFilter.doFilter(OPSXFormsFilter.java:85) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java :288) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke (WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service (CoyoteAdapter.java:268) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess (DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask (DefaultReadTask.java:339) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java :212) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:361) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Michael Pinheiro. -- 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 |
Hi Mickael, The log file does not look exactly like the Tomcat I am familiar with, is it Tomcat? It also appears to be the secure protocal, is your url http: or https: ? In Tomcat, the /conf/server.xml declares a <Connector> element. --Hank UCSB On Oct 10, 2007, at 9:56 AM, Mickael Pinheiro wrote: Hello, Hank Ratzesberger NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |