File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat response time out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat response time out" Watch "Tomcat response time out" New topic
Author

Tomcat response time out

Rams Samy
Greenhorn

Joined: Jul 03, 2008
Posts: 1
Hello,
When I am trying to load a data for a 5000 customers after 15 min I got the white screen. When checked the tomcat log the following exception has occured,
----- Root Cause -----
java.lang.NullPointerException
at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java:628)
at org.apache.catalina.connector.HttpResponseBase.doFlushBuffer(HttpResponseBase.java:748)
at org.apache.catalina.connector.HttpResponseBase.flushBuffer(HttpResponseBase.java:738)
at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:601)
at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:606)
----------------------------------------------------------
Some time I am getting the following exception
2008-06-18 09:23:38 Ajp13Processor[10207][4] Starting background thread
2008-06-18 10:25:52 Ajp13Processor[10207][2] process: IOException Broken pipe
2008-06-18 10:33:14 Ajp13Processor[10207][2] process: IOException Broken pipe
----------------------------------------------------------

The same thing is working when I tried to load 1000 customers details.
Is it because of response time out in tomcat? If so can any one tell me how to setup the response time in tomcat?
I tried by changing the following entry(connectionTimeout) in server.xml but it did not work
---
acceptCount="100" debug="0" connectionTimeout="20000"
----
Please share your views on this. Thanks in advance
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
Is it because of response time out in tomcat?


Probably a timeout on the client browser side that closed the socket connection - what exactly does
load a data

mean??

Bill


Java Resources at www.wbrogden.com
 
wood burning stoves
 
subject: Tomcat response time out
 
Similar Threads
Connection reset by peer
Exceptions at the time of downloading jars from server to client PC---Plse help me
StandardWrapperValve: Servlet.service() for servlet default threw exception
tomcat server error.
Exception in tomcat server