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. Every Second call results in the following exception:
java.io.IOException: Stream closed at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:325) at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:193) at org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader.fillByteBuffer(XMLStreamReader.java:209) at org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader.reset(XMLStreamReader.java:97) at org.apache.xmlbeans.impl.piccolo.xml.DocumentEntity.open(DocumentEntity.java:94) at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.reset(PiccoloLexer.java:982) at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:709) at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3454) at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1276) at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1263) at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345) at noNamespace.DataDocument$Factory.parse(Unknown Source) at de.cirquent.nwfi.xcelsius.XMLServiceServlet.getDocument(XMLServiceServlet.java:71)02.12.2008 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 [EMAIL PROTECTED] | Mobil +49 151 1822 5456 Internet http://www.cirquent.de 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: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]