I have a JSF application running on a Glassfish server. On pressing a commandButton the program loads some data from the database and manipulates it using an algorithm. The process could take 10 minutes or much longer depending on the amount of data. Whilst the algorithm is running I keep the JSF webpage open ( the page is called runAlgoritm and it utilises a session scoped bean), but after a couple of minutes I get an error message in netbeans
I have Googled the error message and cannot find anything relevant but my guess is it is it some type of session timeout. I have changed the timeout in web.XML and I think I have changed the timeout for Bean timeout in Glassfish (the instructions I found were not very good but neither have made a difference.The image of the error is below but it says Cannot open http:/localhost ..... where .... is the relevant page and location (note the page is still open in the browser.
I did think that the error may be in my code but when I run smaller problem sets it works fine.
Does anyone have any ideas? I could redirect to the webpage but I would rather keep them on the runAlgorithm page until the results are ready.
thanks for your help