cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Langham" <mlang...@sundn.de>
Subject C2 - Reading XML from an HTTP Server
Date Fri, 13 Oct 2000 06:57:49 GMT
We cannot get the following to work in C2 (CVS version from last week)

Sitemap:

	<map:match pattern="^onlinesunlet-(.*).xml$"
xmlns:map="http://apache.org/cocoon/sitemap/1.0">
		<map:generate src="http://p.moreover.com/cgi-local/page?index_{1}+xml"/>
		<map:transform src="sunfinance/styles/sunLet_xx.xsl"/>
		<map:serialize type="xml"/>
	</map:match>

We get an exception:

>>
java.net.SocketException: Connection aborted by peer: JVM_recv in socket
input stream read
	at java.net.SocketInputStream.socketRead(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:86)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:223)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:280)
	at java.io.FilterInputStream.read(FilterInputStream.java:114)
	at java.io.PushbackInputStream.read(PushbackInputStream.java:164)
	at org.apache.xerces.utils.ChunkyByteArray.fill(ChunkyByteArray.java:222)
	at org.apache.xerces.utils.ChunkyByteArray.<init>(ChunkyByteArray.java:98)
	at
org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFac
tory.java:153)
	at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Defa
ultEntityHandler.java:491)
	at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
	at
org.apache.cocoon.components.parser.XercesParser.parse(XercesParser.java:40)
	at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:31)
	at
org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:164
)
	at
_D_._Programme._Sunshine._ApacheGroup._tomcat._webapps._sunshine._sitemap_xm
ap.process(_sitemap_xmap.java:3805)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:127)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:80)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:229)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:167)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
	at org.apache.tomcat.core.Handler.service(Handler.java:263)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:74
9)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:695)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:403)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)
<<

It is a valid address and works fine if we type the address into a browser.

Ideas?

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [mlangham@sundn.de - http://www.sundn.de]
=================================================================


Mime
View raw message