tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schuster Stefan" <>
Subject AW: Stream closed
Date Thu, 04 Dec 2008 08:25:49 GMT
Hi everybody,

I still have the problem mentioned below. I just don't have any idea
where to start with problem solving?  Can it be a problem in Tomcat? I guess
not as this is a very simple use-case (read the stream in the servlet) and
it would have probably come up ealier...

Any Ideas? Please?


-----Ursprüngliche Nachricht-----
Von: Schuster Stefan [] 
Gesendet: Dienstag, 2. Dezember 2008 15:24
Betreff: Stream closed

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message