Mohamed,

On 4/15/21 15:58, Mohamed Eliyas Abdul Kadar wrote:
Using chrome browser, I am accessing a web application which is
making a database call. The database call is taking more than 2 mins
, but the request time outs at 50 seconds. Is there a way to increase
this timeout.
Your browser is timing out. If you look on the server, I suspect you'll see that the report is still running and the request-processing thread is in an iowait state.

If you want to fix the timeout, reconfigure your browser.

Mark H. Wood's response suggests something I agree with: don't make the web browser wait for the report to complete. Instead, fire-off the report in a background thread and have the browser poll the server for progress updates.

-chris

-----Original Message-----
From: Mark Thomas <ma...@apache.org>
Sent: Thursday, April 15, 2021 11:54 AM
To: users@tomcat.apache.org
Subject: [EXTERNAL] Re: tomcat timeout

CAUTION: This email originated from outside the organization. DO NOT click 
links or open attachments unless you recognize the sender and know the content 
is safe.

On 15/04/2021 19:23, Mohamed Eliyas Abdul Kadar wrote:

I am using tomcat 9.0.41. In my web application, when executing a query to 
fetch data for reporting it is taking time more than 2 minutes. The request is 
getting time out after 50s. Please let me know how to increase the data base 
timeout to 5 mins.

Nothing to do with Tomcat. That is a client issue. Tomcat will wait for as long 
as it takes to wrote the response.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

This communication and its attachments contain confidential information and is 
intended only for the named addressee. If you are not the named addressee you 
should not disseminate, distribute or copy this communication. Please notify 
the sender immediately if you have received this communication by mistake and 
delete or destroy this communication. Communications cannot be guaranteed to be 
secured or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
communication which arise as a result of transmission. If verification is 
required please request a hard-copy version. NeoGenomics Laboratories, 12701 
Commonwealth Dr, Fort Myers, FL 33913, http://www.neogenomics.com (2021)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to