DO NOT REPLY [Bug 40719] Tomcat 5.5.20 Internal error/crash
https://issues.apache.org/bugzilla/show_bug.cgi?id=40719 --- Comment #17 from Janick Bernet [EMAIL PROTECTED] 2008-10-31 03:57:59 PST --- I just encountered this bug too (so IMO it is not fixed), and I also could circumvent it by increasing the maxHttpHeaderSize. I think the problem occurs, when you use response.sendRedirect() with an URI larger than maxHttpHeaderSize. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2007-08-04 12:03 --- Yep, that explains it. The solution, as Bill points out above, is to increase the maxHttpHeaderSize on the connector. I am marking this as INVALID as there is nothing to fix here. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 --- Additional Comments From [EMAIL PROTECTED] 2007-08-04 12:03 --- *** Bug 43034 has been marked as a duplicate of this bug. *** -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Additional Comments From [EMAIL PROTECTED] 2007-08-04 12:29 --- Im the original submitter for this bug. This bug is NOT just related to header sizes. It seems to ALSO trigger when there is a large amount of page compilation/parsing errors which cause a servlet exception to be thrown and then the container forwards to a error page. Also happens during other random times. Tomcat dies during this internal forward process with this exact same stack trace. NO HEADERS have been sent to the client at this stage NOR have ANY HEADERS BEEN SET. To sum up: NO HEADERS (via addHeader or whatever) are being set to trigger this bug. Is tomcat erronesously using the same internal buffers to store internal parse/compilation errors as the output header buffer ? -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2007-08-04 12:36 --- Further experimentation has shown that setting maxHttpHeaderSize to a larger value DOES solve this problem. But the 'maxHttpHeaderSize' buffer is ALSO being used for internal redirects to error pages (whereby the error page itself shows a very short error message to the browser). This makes the 'maxHttpHeaderSize' parameter a bit misleading according to the tomcat documentation. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 --- Additional Comments From [EMAIL PROTECTED] 2007-01-31 05:50 --- Created an attachment (id=19490) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19490action=view) JSP Example that generates the ArrayIndexOutOfBoundsException This JSP generated the error using Tomcat 5.0.28 with Java 1.5.0_11. It uses the response.addHeader() method to build a large HTTP header. The default InternalOutputBuffer size is 4096 bytes so this JSP should create enough data to simulate the error. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 --- Additional Comments From [EMAIL PROTECTED] 2007-01-30 14:16 --- I have seen this exception when there is too much data for the HTTP header (e.g too many cookies or large amount of data in the cookies). This was with Tomcat 5.0.28 using Java 1.5.0_11. The code in org.apache.coyote.http11.InternalOutputBuffer.write() does not check the number of bytes written to the byte buffer 'buf'. As a workaround, try editing the http connector Connector port=8080 ... in the server.xml configuration file. Add the attribute to this tag Connector port=8080 ... maxHttpHeaderSize=8192 / or some other large number (default size is 4096 for Tomcat 5.0) to see if your web app works. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 --- Additional Comments From [EMAIL PROTECTED] 2006-12-11 01:49 --- I have gone back to the code where I had this bug to try reproduce it and then based on that to try recreate it in a very simple web application. Unfortunately I cannot reproduce it now, I changed the workaround I had put in (a manual redirect on the HTTP response object) back to a Spring RedirectView which caused the problem and now it works just fine. I'm afraid I'm not sure what else changed in our code in the meantime to cause this. If I see it come back again I will definitely investigate further and try get a simple web-app together that reproduces it. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 --- Additional Comments From [EMAIL PROTECTED] 2006-11-25 05:35 --- And enable the security manager with all permissions, and see if it still happens. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 --- Additional Comments From [EMAIL PROTECTED] 2006-11-24 07:25 --- I am seeing the same behaviour on Tomcat 5.0.28 running on SuSE Linux 10.1. I have a web application using Spring MVC. I have a form where I submit some data, a controller picks this up, does some stuff in the database and returns a view to the browser. This worked fine. However, as soon as I changed the view to a Spring RedirectView I get this exception in the log and the redirect does not take place. If instead I do a manual redirect in my controller then it works fine, no stack trace. I can reproduce this 100%, it happens every time with Spring's RedirectView, it is not random for me at all. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 --- Additional Comments From [EMAIL PROTECTED] 2006-11-24 16:17 --- Please can you provide the simplest possible WAR that exhibits this issue? -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 --- Additional Comments From [EMAIL PROTECTED] 2006-10-16 06:14 --- Hi all, today I have found the following lines in my tomcat 5.0.x log java.lang.ArrayIndexOutOfBoundsException Oct 16, 2006 9:52:21 AM org.apache.coyote.http11.Http11Processor process SEVERE: Error finishing response java.lang.ArrayIndexOutOfBoundsException The problem was deterministic but my software is very complex and currently I have no time to reduce it to a reasonable testcase. By the way I add the following notes, based on the debugging I made on my software. Hoping they can help. 1. the problem arose when I was connected directly on the tomcat port. No problem if I was accessing tomcat by means of apache web server 2. I guess the problem is related to a change of encoding in the string management. More precisely: I think it can be related to the attempt of concatenate two strings of different encoding. Regards, Antonio -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 40719] - Tomcat 5.5.20 Internal error/crash
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=40719. 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=40719 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2006-10-11 14:10 --- *** Bug 40730 has been marked as a duplicate of this bug. *** -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]