I've published web service endpoint on Sun light weight http server. The server is running with ThreadPool executors for the connection (Executors.newCachedThreadPool()
).
I'm also using regular web service client (also JAX-WS).
It seems that for every call that exceed 5 minutes the server (or the client) ends the current call thread and open a new one. In the server it looks like a new connection was established and trying to run the same action.
This only happens once, meaning the "second call" might exceed 5 minutes.
Is there a default timeout for a connection ? Is there a way to configure it ?