tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Johnstone" <Richard.Johnst...@appleyard-contracts.co.uk>
Subject Time Out
Date Thu, 02 Jan 2003 14:22:30 GMT
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)

Mime
View raw message