Tomcat reuses InputStream objects. Unfortunately a reused Piccolo object closes streams reused by other threads.
Piccolo.parse() -> DocumentEntity.reset() -> DocumentEntity.close() -> XMLStreamReader->close() -> InpiuStream.close();
Log in to post a comment.