Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5715

faultString: java.net.ConnectException: A remote host did not respond within the timeout period.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.6.2
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None
    • Environment:
      Java/Websphere Server 7.0/Linux

      Description

      I am using Axis2-1.6.2 for creating a webservice in java. I created the webservice and its perfectly working in UAT environment. In production , it throws the below issue. Kindly look into it and send the solution asap

      [8/18/15 10:16:06:852 EDT] 0000001c SystemErr R AxisFault
      faultCode:

      {http://schemas.xmlsoap.org/soap/envelope/}

      Server.userException
      faultSubcode:
      faultString: java.net.ConnectException: A remote host did not respond within the timeout period.
      faultActor:
      faultNode:
      faultDetail:

      {http://xml.apache.org/axis/}

      stackTrace:java.net.ConnectException: A remote host did not respond within the timeout period.
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:412)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:271)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:258)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376)
      at java.net.Socket.connect(Socket.java:546)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
      at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
      at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
      at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
      at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
      at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      at org.apache.axis.client.Call.invoke(Call.java:2767)
      at org.apache.axis.client.Call.invoke(Call.java:2443)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)
      at com.pointel.webservice.PremierProcedureCallSoapBindingStub.procedureCall(PremierProcedureCallSoapBindingStub.java:106)
      at com.pointel.webservice.PremierProcedureCallProxy.procedureCall(PremierProcedureCallProxy.java:60)
      at com.ibm._jsp._FS1000_5F_Find_5F_Subscriber.performLogic(_FS1000_5F_Find_5F_Subscriber.java:82)
      at com.ibm._jsp._FS1000_5F_Find_5F_Subscriber._jspService(_FS1000_5F_Find_5F_Subscriber.java:185)
      at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:970)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:508)
      at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
      at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
      at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:262)
      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:878)
      at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:191)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:516)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:307)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:278)
      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1662)

      {http://xml.apache.org/axis/}

      hostname:eapwas70a

      [8/18/15 10:16:06:852 EDT] 0000001c SystemErr R java.net.ConnectException: A remote host did not respond within the timeout period.
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.client.Call.invoke(Call.java:2767)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.client.Call.invoke(Call.java:2443)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.client.Call.invoke(Call.java:2366)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at org.apache.axis.client.Call.invoke(Call.java:1812)
      [8/18/15 10:16:06:853 EDT] 0000001c SystemErr R at com.pointel.webservice.PremierProcedureCallSoapBindingStub.procedureCall(PremierProcedureCallSoapBindingStub.java:106)
      [8/18/15 10:16:06:859 EDT] 0000001c SystemErr R at com.pointel.webservice.PremierProcedureCallProxy.procedureCall(PremierProcedureCallProxy.java:60)
      [8/18/15 10:16:06:859 EDT] 0000001c SystemErr R at com.ibm._jsp._FS1000_5F_Find_5F_Subscriber.performLogic(_FS1000_5F_Find_5F_Subscriber.java:82)
      [8/18/15 10:16:06:859 EDT] 0000001c SystemErr R at com.ibm._jsp._FS1000_5F_Find_5F_Subscriber._jspService(_FS1000_5F_Find_5F_Subscriber.java:185)
      [8/18/15 10:16:06:859 EDT] 0000001c SystemErr R at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
      [8/18/15 10:16:06:859 EDT] 0000001c SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      [8/18/15 10:16:06:859 EDT] 0000001c SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)
      [8/18/15 10:16:06:859 EDT] 0000001c SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:970)
      [8/18/15 10:16:06:859 EDT] 0000001c SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:508)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:262)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:878)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:191)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:516)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:307)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:278)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1662)
      [8/18/15 10:16:06:860 EDT] 0000001c SystemErr R Caused by: java.net.ConnectException: A remote host did not respond within the timeout period.
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:412)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:271)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:258)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at java.net.Socket.connect(Socket.java:546)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at java.lang.reflect.Method.invoke(Method.java:611)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
      [8/18/15 10:16:06:865 EDT] 0000001c SystemErr R ... 35 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              srikrishna.nj Srikrishna
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified