0 Replies Latest reply on Sep 13, 2011 3:43 PM by Taimur Mirza

    Caused by: java.net.SocketTimeoutException: Read timed out

    Taimur Mirza Newbie

      I am using JBoss 6 and trying to invoke a remote SOAP webservice on the same version of JBoss. I am getting following exception in client side

       

      Caused by: java.net.SocketTimeoutException: Read timed out

          at java.net.SocketInputStream.socketRead0(Native Method) [:1.6.0_12]

          at java.net.SocketInputStream.read(SocketInputStream.java:129) [:1.6.0_12]

          at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) [:1.6.0_12]

          at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) [:1.6.0_12]

          at java.io.BufferedInputStream.read(BufferedInputStream.java:317) [:1.6.0_12]

          at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687) [:1.6.0_12]

          at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632) [:1.6.0_12]

          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049) [:1.6.0_12]

          at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373) [:1.6.0_12]

          at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2223) [:2.3.1]

          at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2192) [:2.3.1]

          at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2036) [:2.3.1]

          ... 94 more

       

      I have played with remoting timeout settings in xml but no result.