I have a problem when I call a servlet over HTTPS. I open a socket to connect to the servlet (using HttpURLConnection), send a request and read the response. If the server needs more than 30 seconds (approx.) to calculate the response the client receives a SocketException with message "Unexpected end of file from server". This problem does not occour when using HTTP. Is this a timeout or what? Where should I configure jboss (or tomcat) to solve this?