I am calling URL's from my applet with some specified parameters, this URL then performs a query against a database. These queries can take anywhere from seconds to an hour. With the longer queries, java receives an IOException after about 10 minutes of waiting. Is there any way around this behavior?
Also, when I try to recover from this IOException, the next call to the web server isn't accepted. Is this because these two requests are in the same thread and it thinks the other connection is still open? The other connection shouldn't still be open though, as I call my closing method in the finally block after I catch the first IOException.
Any help would be appreciated. Thanks.