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 2014/04/01 21:32:35 UTC
[Bug 56336] New: IndexOutOfBoundsException in the
AjpNio2Processor.output() method
https://issues.apache.org/bugzilla/show_bug.cgi?id=56336
Bug ID: 56336
Summary: IndexOutOfBoundsException in the
AjpNio2Processor.output() method
Product: Tomcat 8
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
Assignee: dev@tomcat.apache.org
Reporter: bdevaney@docfinity.com
Generated with the NIO2 protocol in the connector. The same code using tomcat
with HTTP/1.1 and AJP/1.3 in the connector worked correctly.
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkBounds(Buffer.java:559)
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:181)
at org.apache.coyote.ajp.AjpNio2Processor.output(AjpNio2Processor.java:158)
at
org.apache.coyote.ajp.AbstractAjpProcessor.writeResponseMessage(AbstractAjpProcessor.java:1658)
at
org.apache.coyote.ajp.AbstractAjpProcessor.writeData(AbstractAjpProcessor.java:1577)
at
org.apache.coyote.ajp.AbstractAjpProcessor.access$200(AbstractAjpProcessor.java:62)
at
org.apache.coyote.ajp.AbstractAjpProcessor$SocketOutputBuffer.doWrite(AbstractAjpProcessor.java:1725)
at org.apache.coyote.Response.doWrite(Response.java:523)
at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:391)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:344)
at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:421)
at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:409)
at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:97)
at java.io.DataOutputStream.write(DataOutputStream.java:107)
at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56336] IndexOutOfBoundsException in the
AjpNio2Processor.output() method
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56336
--- Comment #1 from Remy Maucherat <re...@apache.org> ---
The AJP connector is really heavy on code reuse, so the NIO2 code that is used
here is identical to the NIO1 code (and the shared code looks like it's only
working by accident, so I'll try to fix it http://svn.apache.org/r1583814 ).
You could investigate and debug to see why this exception occurs or test the
fix.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56336] IndexOutOfBoundsException in the
AjpNio2Processor.output() method
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56336
Remy Maucherat <re...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Remy Maucherat <re...@apache.org> ---
No feedback, so assume fixed by r1583814
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org