0 Replies Latest reply: May 20, 2013 12:22 PM by 1009913 RSS

    Application calling remote service using IP configured for another instance

      I have an application which calls a web service which runs in a second WebLogic service instance on the same physical box. The address of the web service is loaded by the application once from a config file at start-up using the spring framework.

      In the live environment there are 2 physical servers each running a instance of the application and the web service. Each box is configured to call its own copy of the web service. There are no calls configured between the physical boxes. Currently one of boxes is out of commission so all calls are being routed to the single server.

      The problem is that we are seeing failures calling the web service (~1%) in the application log. These failures include the IP address of the box which is not running and which the application instance reporting the error should have no knowledge.

      Caused by: java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'xx.xx.xx.xx', port: 'nnnn'
           at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
           at weblogic.net.http.HttpClient.openServer(HttpClient.java:419)
           at weblogic.net.http.HttpClient.New(HttpClient.java:246)
           at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:176)

      I do not have access to the live environment, but have been advised that there is no configuration within that environment which would cause the web service calls to be redirected.

      Can anyone offer an explanation for the appearance of the "wrong" IP in the application log?