A web application calls a stored procedure to perform an intensive database update. The relevant portion of web.xml
was updated to four hours:<
By reading the abvoe , i can ensure you have two options even though second one is difficult, its the best proces
1) Page Refresh
2) Optimization
Optimizing the query to finish in under 30 minutes (the maximum permitted timeout) is possible, but it is likely the query cannot be optimized sufficiently.
In my opinion, no user would want to sit in front of screen monitoring a background job for 4 hours. Few years ago, I had to implement report generation which took hours. the implemented solution was the following: