You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Richard Johnstone <Ri...@appleyard-contracts.co.uk> on 2003/01/02 15:22:30 UTC

Time Out

Hi,

I have just built a new webserver and I am having a strange problem.
The first few times I try to call a servlet it times out.
Then eventually it will just call as normal and run ok.
Then when I leave it for a while and come back I get the same issue.
I looked in the logs and this was the only thing I could see that
seemed to be an error.
All the example servlets run fine and straight away.

2003-01-02 14:31:15 HttpProcessor[8080][4] process.finish
java.lang.IllegalStateException: Current state = FLUSHED, new state =
CODING_END
	at
java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:933)
	at
java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:529)
	at
sun.nio.cs.StreamEncoder$CharsetSE.flushLeftoverChar(StreamEncoder.java:356)
	at
sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:412)
	at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:158)
	at
java.io.OutputStreamWriter.close(OutputStreamWriter.java:222)
	at java.io.PrintWriter.close(PrintWriter.java:137)
	at
org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBase.java:482)
	at
org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpResponseBase.java:237)
	at
org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(HttpResponseImpl.java:287)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1054)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
	at java.lang.Thread.run(Thread.java:536)