tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kenneth topp <cau...@prodigy.net>
Subject BUG: in mod_jk ajp13! [#1]
Date Wed, 08 Nov 2000 22:49:49 GMT

With:
  redhat 6.2 
  ibm jdk 1.3 
  tomcat 3.2b6 
  apache 1.3.14 + mod_ssl 2.7.1 + EAPI
  
I get the following errors when I use mod_jk with ajp13.

I do have a couple multipart form uploads (using oreily's helper class)

Also, I don't get _any_ errors when I use ajp12.  I need to use ajp13 soon
for SSL support.  Hopefully these errors are already fixed.  Please cc
tomcat-user or me.

Thanks,

Kenneth Topp

tomcat.log.10-30-2000_23-21-17

java.net.SocketException: Connection reset by peer: Connection reset by peer
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code))
        at org.apache.tomcat.service.connector.TcpConnector.receive(TcpConnector.java:111)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:146)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)


2000-10-30 09:08:24 - Ctx( admin.allstarfleet.com: ): Exception in: R(  + /servlet/admin.BulkUpload
+ null) - java.lang.NullPointerException
        at java.io.FileInputStream.<init>(FileInputStream.java:101)
        at java.io.FileReader.<init>(FileReader.java:56)
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)

2000-10-30 09:18:08 - Ctx( preview.allstarfleet.com: ): Exception in: R(  + /servlet/user.RegisterUser
+ null) - java.lang.IllegalArgumentException
        at java.lang.Throwable.<init>(Throwable.java:96)
        at java.lang.Exception.<init>(Exception.java:44)
        at java.lang.RuntimeException.<init>(RuntimeException.java:49)
        at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:45)
        at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:244)
        at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
        at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java(Compiled
Code))
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)

2000-10-30 09:28:48 - Ctx( preview.allstarfleet.com: ): Exception in: R(  + /servlet/equip.UploadEquipmentImage
+ null) - java.lang.ArrayIndexOutOfBoundsException: 8186
        at org.apache.tomcat.service.connector.Ajp13ConnectorRequest.doRead(Ajp13ConnectorRequest.java(Compiled
Code))
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java(Compiled
Code))
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java(Compiled
Code))
        at javax.servlet.ServletInputStream.readLine(ServletInputStream.java(Compiled Code))
        at com.oreilly.servlet.MultipartInputStreamHandler.readLine(MultipartRequest.java:745)
        at com.oreilly.servlet.MultipartRequest.readAndSaveFile(MultipartRequest.java:531)
        at com.oreilly.servlet.MultipartRequest.readNextPart(MultipartRequest.java:446)
        at com.oreilly.servlet.MultipartRequest.readRequest(MultipartRequest.java:367)
        at com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:149)
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)

2000-10-30 09:38:46 - Ctx( preview.allstarfleet.com: ): Exception in: R(  + /servlet/equip.UploadEquipmentImage
+ null) - java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.Throwable.<init>(Throwable.java:96)
        at java.lang.Exception.<init>(Exception.java:44)
        at java.lang.RuntimeException.<init>(RuntimeException.java:49)
        at java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java:46)
        at java.lang.StringIndexOutOfBoundsException.<init>(StringIndexOutOfBoundsException.java:59)
        at java.lang.StringBuffer.setLength(StringBuffer.java(Compiled Code))
        at com.oreilly.servlet.MultipartInputStreamHandler.readLine(MultipartRequest.java:729)
        at com.oreilly.servlet.MultipartRequest.readNextPart(MultipartRequest.java:390)
        at com.oreilly.servlet.MultipartRequest.readRequest(MultipartRequest.java:367)
        at com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:149)
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)

2000-10-30 10:00:15 - Ctx( admin.allstarfleet.com: ): Exception in: R(  + /servlet/admin.BulkUpload
+ null) - java.lang.ArrayIndexOutOfBoundsException: 8186
        at org.apache.tomcat.service.connector.Ajp13ConnectorRequest.doRead(Ajp13ConnectorRequest.java(Compiled
Code))
        at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:111)
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:144)
        at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:235)
        at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
        at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java(Compiled
Code))
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)

2000-10-30 10:01:15 - Ctx( admin.allstarfleet.com: ): Exception in: R(  + /servlet/admin.BulkUpload
+ null) - java.lang.ArrayIndexOutOfBoundsException: 8186
        at org.apache.tomcat.service.connector.Ajp13ConnectorRequest.doRead(Ajp13ConnectorRequest.java(Compiled
Code))
        at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:111)
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:144)
        at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:235)
        at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
        at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java(Compiled
Code))
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)


2000-10-30 10:13:16 - Ctx( preview.allstarfleet.com: ): Exception in: R(  + /servlet/equip.UploadEquipment
+ null) - java.lang.ArrayIndexOutOfBoundsException: 8186
        at org.apache.tomcat.service.connector.Ajp13ConnectorRequest.doRead(Ajp13ConnectorRequest.java(Compiled
Code))
        at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:111)
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:144)
        at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:235)
        at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
        at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java(Compiled
Code))
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)

2000-10-30 10:13:53 - Ctx( preview.allstarfleet.com: ): Exception in: R(  + /servlet/equip.UploadEquipment
+ null) - java.lang.ArrayIndexOutOfBoundsException: 8186
        at org.apache.tomcat.service.connector.Ajp13ConnectorRequest.doRead(Ajp13ConnectorRequest.java(Compiled
Code))
        at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:111)
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:144)
        at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:235)
        at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
        at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java(Compiled
Code))
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)

2000-10-30 10:14:44 - Ctx( preview.allstarfleet.com: ): Exception in: R(  + /servlet/equip.UploadEquipment
+ null) - java.lang.ArrayIndexOutOfBoundsException: 8186
        at org.apache.tomcat.service.connector.Ajp13ConnectorRequest.doRead(Ajp13ConnectorRequest.java(Compiled
Code))
        at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:111)
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:144)
        at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:235)
        at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
        at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java(Compiled Code))
        at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java(Compiled
Code))
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)


tomcat.log.10-30-2000_23-52-16

2000-10-30 11:28:30 - Ctx( admin.allstarfleet.com: ): Exception in: R(  + /servlet/admin.BulkUpload
+ null) - java.lang.ArrayIndexOutOfBoundsException: 8186
        at org.apache.tomcat.service.connector.Ajp13ConnectorRequest.doRead(Ajp13ConnectorRequest.java(Compiled
Code))
        at org.apache.tomcat.service.connector.Ajp13ConnectorRequest.doRead(Ajp13ConnectorRequest.java(Compiled
Code))
        at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:111)
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:144)
        at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:235)
        at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
        at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java:681)
        at org.apache.tomcat.core.RequestImpl.getParameterValues(RequestImpl.java:259)
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java:250)
        at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java:222)
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)

2000-10-30 11:29:51 - Ctx( admin.allstarfleet.com: ): Exception in: R(  + /servlet/admin.BulkUpload
+ null) - java.lang.ArrayIndexOutOfBoundsException: 8186
        at org.apache.tomcat.service.connector.Ajp13ConnectorRequest.doRead(Ajp13ConnectorRequest.java(Compiled
Code))
        at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:111)
        at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:144)
        at javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:235)
        at org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101)
        at org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java:681)
        at org.apache.tomcat.core.RequestImpl.getParameterValues(RequestImpl.java:259)
        at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java:250)
        at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java:222)
[my servlet routines]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
        at org.apache.tomcat.core.Handler.service(Handler.java:263)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
        at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
        at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)


Mime
View raw message