tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6579] New: - ArrayIndexOutOfBoundsException: AJP13Connector debug="1"
Date Wed, 20 Feb 2002 15:28:13 GMT
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=6579>.
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=6579

ArrayIndexOutOfBoundsException: AJP13Connector debug="1"

           Summary: ArrayIndexOutOfBoundsException: AJP13Connector debug="1"
           Product: Tomcat 3
           Version: 3.3.1 Beta 1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connectors
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: hans.schmid@einsurance.de


When I add the attribute debug="1" into the Ajp13Connector tag in server.xml,
I get an ArrayIndexOutOfBoundsException. Without the debug it works fine.

This occurs under the following two setups:
Apache 1.3.19 + mod_jk 1.2.0 + Tomcat 3.3.1-b1 on Solaris 8 
Apache 1.3.23 + mod_jk 1.1.0 + Tomcat 3.3.1-b1 on and Win2000

Here the entry from my server.xml:

        <Ajp13Connector port="8009" debug="1"
			maxThreads="100"
			maxSpareThreads="50"
			minSpareThreads="10" />


And this is the Stacktrace:
2002-02-20 13:49:45,327 143590 [Thread-32] FATAL 
(gui.framework.ExceptionHandler)  - Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 8192
	at org.apache.tomcat.modules.server.Ajp13Packet.hexLine(Unknown Source)
	at org.apache.tomcat.modules.server.Ajp13Packet.dump(Unknown Source)
	at org.apache.tomcat.modules.server.Ajp13.send(Unknown Source)
	at org.apache.tomcat.modules.server.Ajp13.doWrite(Unknown Source)
	at org.apache.tomcat.modules.server.Ajp13Response.doWrite(Unknown 
Source)
	at org.apache.tomcat.core.OutputBuffer.realWriteBytes(Unknown Source)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(Unknown Source)
	at org.apache.tomcat.util.buf.ByteChunk.append(Unknown Source)
	at org.apache.tomcat.util.buf.IntermediateOutputStream.write(Unknown 
Source)
	at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:230)
	at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:244)
	at org.apache.tomcat.util.buf.WriteConvertor.flush(Unknown Source)
	at org.apache.tomcat.util.buf.C2BConverter.flushBuffer(Unknown Source)
	at org.apache.tomcat.core.OutputBuffer.realWriteChars(Unknown Source)
	at org.apache.tomcat.util.buf.CharChunk.flushBuffer(Unknown Source)
	at org.apache.tomcat.core.OutputBuffer.flush(Unknown Source)
	at org.apache.tomcat.core.OutputBuffer.close(Unknown Source)
	at org.apache.tomcat.core.Response.finish(Unknown Source)
	at org.apache.tomcat.modules.server.Ajp13Response.finish(Unknown Source)
	at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(Unknown 
Source)
	at org.apache.tomcat.facade.RequestDispatcherImpl.forward(Unknown 
Source)
	at org.apache.struts.action.ActionServlet.processActionForward
(ActionServlet.java:1758)
	at org.apache.struts.action.ActionServlet.process
(ActionServlet.java:1595)
	at de.einsurance.gui.framework.ExtendedActionServlet.process
(ExtendedActionServlet.java:65)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
	at org.apache.tomcat.core.Handler.invoke(Unknown Source)
	at org.apache.tomcat.core.Handler.service(Unknown Source)
	at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
	at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
	at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection
(Unknown Source)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(Unknown Source)
	at java.lang.Thread.run(Thread.java:484)


Depending on the browser, the following page does not display at all(IE) or
displays the content 6 to 7 times. Very strange.

Please let me know, if you need something else.

Thanks,
Hans

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


Mime
View raw message