"the page cannot be displayed" after an hour
1 posts in topic
Flat View  Flat View

Posted By:   amy_wang
Posted On:   Wednesday, January 30, 2008 03:41 PM

We use Tomcat+MySQL, the major jobs is too export huge data into flat files. ( by far, there is thousand Million records in the biggest table, it will quickly keep growing)

So exporting such huge file may take long time to finish since we don't have a powerful database server yet, for the test I tried, it may take longer than 4 hours to finish exporting the file, but I got an error -- the page cannot be displayed -- after an hour.

Is it due to some kind of timeout? if so, what is it? how can I remove this?

Any other solutions to solve this? Thanks a million!!!!!!!!

Re: "the page cannot be displayed" after an hour

Posted By:   Stephen_McConnell  
Posted On:   Thursday, January 31, 2008 11:03 AM

Yes, this is due to a timeout. You might spawn a thread that exports this data and sends an email or some other type of notification when it is through, so you don't have to sit there waiting and playing Solitaire till the job is through.

This appears to be one of those "batch" jobs that you could create a "cron" job or something like it to run.

Stephen McConnell

About | Sitemap | Contact