2 Replies Latest reply: Mar 19, 2013 7:47 AM by deezer RSS

    Connection Reset while making http web service call to remote server

      Hello guys,
      Our environment details are as follows:
      WebLogic version: 10.3.3
      Cluster: yes
      Database: Oracle
      Web service server: Remote application

      When our WebLogic server makes a http Web service call to another remote application which runs on IIS server for creating a record. The record gets created in remote application but WebLogic server log says java.net.SocketException: Connection reset and the same record doesn't get created in WebLogic application. We have confirmed that remote application is running and it is behaving as expected. Also, we installed web service client on our WebLogic machine just to isolate any network related issues, when we make a same request through this client it works fine and we get answer. At this point in time, it looks like it could be WebLogic or application which is behaving goofy. we are running out of ideas, it would be nice if someone have any thoughts on it like turning on any flags or any other troubleshooting steps. Please, let me know.

      Here is the stack trace:

      ####<Sep 18, 2011 12:31:40 AM MDT> <Info> <com.blah.blah> <server1> <WLSserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Defaul
      t (self-tuning)'> <user> <BEA1-69D606DA85BDB1A0A7D5> <> <1316327500388> <BEA-000000> <ERROR com.blah.blah - Error during creating a order remoteappja
      va.net.SocketException: Connection reset
      com.sun.jersey.api.client.ClientHandlerException: java.net.SocketException: Connection reset
      at com.sun.jersey.api.client.Client.handle(Client.java:569)
      at com.sun.jersey.api.client.WebResource.handle(WebResource.java:556)
      at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:69)
      at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:451)

      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:173)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
      at weblogic.net.http.MessageHeader.isHTTP(MessageHeader.java:220)
      at weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:143)
      at weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:462)
      at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:364)
      at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
      at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:952)
      at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:215)
      at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:126)
      ... 58 more

      thanks a lot for your help in advance