• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to increase http request processing timeout

 
stelios andreadis
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello! I have created a jsp page, that makes a search through internet, returns some articles and then makes many changes in these articles. When it is done, it is directed to another jsp page, where the results are shown. The problem is that the whole function in the first page takes a big time and an error occurs.
WARNING: Interrupting idle Thread: http-thread-pool-8080-(2)
I search through internet for this error and I found out that I should increase the http request processing timeout, which is set at 15 mins. However, I didn't found the way to. Can anybody help?
 
Viswanathan Ramamoorthy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How long the expected time of search will be. Kindly can you explain bit more about your query


Visu
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the wrong way to go about it. No user should be made to wait for 15 minutes or longer. Maybe the browser crashes, or the user inadvertently closes it; then what?

The proper way is to kick off the search as a background task (or thread), and to return to the user the URL of a page where he can check periodically for results. Or send the user an email with the link when the search is done.
 
Viswanathan Ramamoorthy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case of report generation if its allowed or not. I am not all having any issues like this as of now . Just for a Clarification only.


Visu
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic