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 2006/01/01 19:08:39 UTC

DO NOT REPLY [Bug 38088] New: - Clarify IOException thrown by InternalAprInputBuffer

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38088>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38088

           Summary: Clarify IOException thrown by InternalAprInputBuffer
           Product: Tomcat 5
           Version: 5.5.12
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Connector:Coyote
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: cowwoc@bbs.darktech.org


I found this in my tomcat logs:

java.io.IOException
	at
org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:809)
	at
org.apache.coyote.http11.InternalAprInputBuffer$SocketInputBuffer.doRead(InternalAprInputBuffer.java:837)
	at
org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:115)
	at
org.apache.coyote.http11.InternalAprInputBuffer.doRead(InternalAprInputBuffer.java:756)
	at org.apache.coyote.Request.doRead(Request.java:427)
	at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283)
	at org.apache.catalina.connector.InputBuffer.realReadChars(InputBuffer.java:329)
	at org.apache.tomcat.util.buf.CharChunk.substract(CharChunk.java:415)
	at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:363)
	at org.apache.catalina.connector.CoyoteReader.read(CoyoteReader.java:104)
	at java.io.BufferedReader.fill(BufferedReader.java:136)
	at java.io.BufferedReader.read(BufferedReader.java:157)

while the underlying servlet was reading from the http request "reader". I'd
simply like to request that the thrown exception be more descriptive (i.e. *why*
did it fail?) so I can figure out whether this is due to a bug in my code, the
client disconnecting prematurely or whatever other reason.

  Looking at the source code, the IOException message is supposed to contain
sm.getString("iib.failedread") but I guess this string turns out to be an empty
string. Perhaps that is a bug to be fixed?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 38088] - Clarify IOException thrown by InternalAprInputBuffer

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38088>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38088


yoavs@computer.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From yoavs@computer.org  2006-06-15 19:20 -------
I've attempted to clarify the exception a bit, by adding the proper string
resource and putting a message in it with a bit of detail.  I'm not sure the
relevant code is well-positioned to determine the true root cause of this
exception, but if you think differently and have a patch you'd like us to look
at, I'll be glad to do so.  Thanks.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 38088] - Clarify IOException thrown by InternalAprInputBuffer

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38088>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38088





------- Additional Comments From cowwoc@bbs.darktech.org  2006-08-30 17:25 -------
Excuse me, which version is this fixed in? 5.5.18?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org