cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AWR <art632...@yahoo.ca>
Subject webserviceproxy working in snapshots?
Date Mon, 03 Feb 2003 15:02:45 GMT
I have tried several, including the latest, but there
seems to be a problem passing the remote site
information, and the examples always result in "Error
invoking remote service:
java.lang.IllegalArgumentException: host parameter is
null". The stack trace is below.

Does anyone have webserviceproxy working in a recent
dev snapshot?

AWR
----
Original exception :
java.lang.IllegalArgumentException: host parameter is
null 
at
org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:175)

at
org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:123)

at
org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnection(SimpleHttpConnectionManager.java:120)

at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:540)

at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:473)

at
org.apache.cocoon.generation.WebServiceProxyGenerator.fetch(WebServiceProxyGenerator.java:253)

at
org.apache.cocoon.generation.WebServiceProxyGenerator.generate(WebServiceProxyGenerator.java:160)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:525)

at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:213)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:677)

at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:413)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:546)

at
org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvironment.java:304)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:532)

at
org.apache.cocoon.environment.wrapper.EnvironmentWrapper.toSAX(EnvironmentWrapper.java:368)

at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:525)

at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:213)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:677)

at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:413)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:546)

at
org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvironment.java:304)

at
org.apache.cocoon.transformation.CIncludeTransformer.processCIncludeElement(CIncludeTransformer.java:402)

at
org.apache.cocoon.transformation.CIncludeTransformer.startTransformingElement(CIncludeTransformer.java:176)

at
org.apache.cocoon.transformation.AbstractSAXTransformer.startElement(AbstractSAXTransformer.java:329)

at
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:118)

at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)

at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)

at
org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)

at
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)

at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)

at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)

at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)

at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)

at
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:254)

at
org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:113)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:551)

at
org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvironment.java:304)

at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:532)

at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)

at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:282)

at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:485)

at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:145)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

at
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNode.java:66)

at
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.java:128)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)

at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)

at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)

at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)

at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)

at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)

at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)

at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)

at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)

at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)

at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)

at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)

at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:299)

at org.apache.cocoon.Cocoon.process(Cocoon.java:600) 
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1074)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)

at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)

at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)

at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)

at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)

at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)

at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)

at java.lang.Thread.run(Thread.java:536) 


______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message