tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schuster Stefan" <>
Subject Stream closed
Date Tue, 02 Dec 2008 14:24:27 GMT
Hi everybody,

I have the following problem with tomcat 6.0.18:
I wrote a servlet that reads the input stream with
XML Beans. An application sends requests to the servlet, but only the first request succeedes.
Second call results in the following exception: Stream closed
	at org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader.fillByteBuffer(
	at org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader.reset(
	at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.reset(
	at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(
	at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(
	at noNamespace.DataDocument$Factory.parse(Unknown Source)
	at de.cirquent.nwfi.xcelsius.XMLServiceServlet.getDocument(
14:55:19 org.apache.catalina.core.StandardWrapperValve invoke
SCHWERWIEGEND: Servlet.service() for servlet XMLServiceServlet threw exception

I do not cache the input stream in the servlet, so I do not understand how the
subsequent transmissions are related? I am even sending a "connection close" with
the response to make shure that there is no issue with a reused connection.

Any ideas?

Best regards,
Stefan Schuster

Consultant NW FI

cirquent | softlab group

Cirquent GmbH

Königsberger Straße 29 | 60487 Frankfurt a.M.

Telefon +49 69 97261-800 | Fax +49 69 97261-899
E-Mail | Mobil +49 151 1822 5456

Cirquent GmbH | Geschäftsführung: Peter Broicher (Vorsitzender), Dr. Stefan Aicher,
Thomas Balgheim (stellvertretender Vorsitzender), Bernd Stroppel, Said Tabet
Sitz und Amtsgericht: München HRB 51846


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message