When I turn on logging, I get a little more info. This appears to be from Axis2:
Mar 28, 2010 20:17 [Thread-1] org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:508) Request body sent Mar 28, 2010 20:17 [Thread-1] org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:826) enter HttpConnection.flushRequestOutputStream() Mar 28, 2010 20:17 [Thread-1] org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1730) enter HttpMethodBase.readResponse(HttpState, HttpConnection) Mar 28, 2010 20:17 [Thread-1] org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1964) enter HttpMethodBase.readStatusLine(HttpState, HttpConnection) Mar 28, 2010 20:17 [Thread-1] org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1113) enter HttpConnection.readLine() Mar 28, 2010 20:17 [Thread-1] org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105) enter HttpParser.readLine(InputStream, String) Mar 28, 2010 20:17 [Thread-1] org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:74) enter HttpParser.readRawLine() It times out after HttpParser.readRawLine(). I increased the timeout to 60 seconds (the operation should take only a few seconds at most). And then this appears in the log (note SSL logging is turned on too). Thread-1, handling exception: java.net.SocketTimeoutException: Read timed out Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:404) Closing the connection. Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.HttpConnection.close(HttpConnection.java:1148) enter HttpConnection.close() Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.HttpConnection.closeSocketAndStreams(HttpConnection.java:1215) enter HttpConnection.closeSockedAndStreams() Thread-1, called close() Thread-1, called closeInternal(true) Thread-1, SEND TLSv1 ALERT: warning, description = close_notify Thread-1, WRITE: TLSv1 Alert, length = 18 Thread-1, called close() Thread-1, called closeInternal(true) Thread-1, called close() Thread-1, called closeInternal(true) Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:434) Method retry handler returned false. Automatic recovery will not be attempted Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.HttpConnection.releaseConnection(HttpConnection.java:1174) enter HttpConnection.releaseConnection() Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.HttpConnection.releaseConnection(HttpConnection.java:1178) Releasing connection back to connection manager. Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.releaseConnection(MultiThreadedHttpConnectionManager.java:630) enter HttpConnectionManager.releaseConnection(HttpConnection) Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool.freeConnection(MultiThreadedHttpConnectionManager.java:979) Freeing connection, hostConfig=HostConfiguration[host=https://mydomain.com] Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool.getHostPool(MultiThreadedHttpConnectionManager.java:805) enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration) Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.util.IdleConnectionHandler.add(IdleConnectionHandler.java:76) Adding connection at: 1269832692171 Mar 28, 2010 20:18 [Thread-1] org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool.notifyWaitingThread(MultiThreadedHttpConnectionManager.java:961) Notifying no-one, there are no waiting threads Mar 28, 2010 20:18 [Thread-1] org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:202) Unable to sendViaPost to url[https://mydomain.com/axis2/services/MyWebServices.MyWebServicesHttpSoap12Endpoint/] java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) -- View this message in context: http://old.nabble.com/Axis2-with-SSL-gives-AxisFault-tp28053938p28064610.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
