You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/01/16 17:52:47 UTC
DO NOT REPLY [Bug 4551] -
Ctx( /tt01 ): IOException in: R( /tt01 + /com/abc/jta/javascripts/abc.js + null) Invalid argument
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4551>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4551
Ctx( /tt01 ): IOException in: R( /tt01 + /com/abc/jta/javascripts/abc.js + null) Invalid argument
k.haeck@energyict.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
------- Additional Comments From k.haeck@energyict.com 2002-01-16 08:52 -------
This problems happens all the time while serving large pages.
(Typically with large javascripts). Using google I found the following patch:
it is caused by a bug in
org/apache/tomcat/core/BufferedServletOutputStream.java
there is a cicular buffer where it set to 8k, when the html file which have
included files which size is
more then 8k , the above message will occur.
the cicular buffer was not reset after commit.
Below is the source .
public void recycle() {
// System.out.println("Recycle BOS " );
bufferCount = 0;
totalCount = 0;
closed = false;
usingWriter = false;
resA.setBufferCommitted(false); // this is missing in the source.
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>