Communication problem error with long sql query run

Hello!
My Vaadin (6.8.12) application run query to MSSQL Server with running time ~ 5-10 min.
In Query Analyzer and iReport this query exec normally, but in Vaadin App over time raise error box: “Communication problem”.
How to enlarge this timeout?

Instead of increasing the time, you could put the query in a separate thread, and poll from the UI with Refresher.

Thank You!
Best practice: do it in separate thread.
But for expierence: how to increase this time?

You probably can’t, not for a timeout that long. If nothing else, the browser itself will cut off the request if it doesn’t receive anything.