Dear Nadi,
Having to sit on a screen for 45 minutes is not great design of your system. What happens if you machine restarts or you accidentally close the browser window?
Design JMX in a way that you have execute method and status method.
String status(); // tells you the status of the current traversing progress
void start() throws Exception // starts the traversing and returns when successfully started, throws an exception when can't start
void stop() throws Exception; // potentially useful as well in case JMX actually runs for 45 minutes
Anyway, it could be Apache that times out your request, look out for TimeOut setting in your Apache config and increase that value to avoid timeouts.
P.S. it's better to redesign your JMX then bump TimeOut to an hour long value.
Regards,
Peter