Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Client request times out

Client request times out

2006-12-08       - By Bill Barker

 Back
Reply:     1     2     3     4     5  


"Richard Doust" <rdoust@(protected)> wrote in message
news:343CF3DE-4398-4DFF-AE44-418A8ACB9146@(protected)
> Well, it's a complicated report used by a purchaser to generate a
> purchase order based on need for a product dependent on customer  demand.
> It's accessing a LOT of data. That's not to say that I can't  speed it up
> with indexes, or break it up into a request that's passed  off to a server
> process that generates data that it then writes to  the database for later
> retrieval by the client. But it wasn't  designed that way and such a
> change would be substantial. It has  worked for a few years, and what I'm
> looking to do right now is get  around the 5 min. barrier before spending
> more time looking at the  underlying problem and ways to solve it.
> Thanks for your suggestion.

Unfortunately, you probably won't find anything that works.  The reason is
that it is probably the browser that is giving up and closing the
connection.  With the latest Tomcat/mod_jk, it might be possible if you can
send a few KB of data and flush it to keep the browser from flushing it on
you.  But this still isn't a fix, because if the user is behind a proxy, the
proxy may try and read the entire body (so the browser sees it as taking too
long), or simply time out because the total request is taking too long.

>
> On Dec 8, 2006, at 10:42 AM, Robert Harper wrote:
>
>> I think the bigger question is why does it take that long to run? I
>> can't
>> think of too many people that are willing to wait that long for
>> information.
>> Personally I'd give you 30 seconds and then I'll never use  something
>> that
>> slow again.
>>
>> If you are accessing data, try adding indexes or a data redesign to
>> speed
>> things up. A simple index based on key data can speed up searches
>> exponentially.
>>
>> Just a thought. Most of my problems have been my problems not  something
>> Tomcat was doing wrong.
>>
>> Robert S. Harper
>> Information Access Technology, Inc.
>> -- --Original Message-- --
>> From: Richard Doust [mailto:rdoust@(protected)]
>> Sent: Friday, December 08, 2006 8:23 AM
>> To: Tomcat Users List
>> Subject: Client request times out
>>
>> I have a problem with a servlet running longer than 5 minutes. The
>> client's browser is delivered an error response from somewhere on the
>> server in an Apache/JBoss/Tomcat stack at the 5 minute mark.
>> Does anyone know what properties/attributes in what configuration
>> files might allow the servlet to run for longer than 5 minutes?
>> I have tried:
>>
>> TimeOut (in apache config)
>> disableUploadTimeout (in Connector attribute settings, server.xml for
>> Tomcat 5.5)
>> socket_timeout (in workers.properties)
>>
>> None seem to have the desired effect.
>> Any help would be appreciated.
>> Thanks.
>>
>> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>> To start a new topic, e-mail: users@(protected)
>> To unsubscribe, e-mail: users-unsubscribe@(protected)
>> For additional commands, e-mail: users-help@(protected)
>>
>>
>>
>>
>>
>> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>> To start a new topic, e-mail: users@(protected)
>> To unsubscribe, e-mail: users-unsubscribe@(protected)
>> For additional commands, e-mail: users-help@(protected)
>>
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>




-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.