java.net.ConnectException: Connection timed out: connect

MuleSoft JIRA | Daniel Zapata | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Steps to reproduce: From admin-web dir, run: mvn tomcat:run Search for 1984 title (should return one book) Instead of the expected book, you get the following error: Aug 16, 2010 4:06:14 PM org.springframework.beans.factory.support.DefaultListabl eBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support. DefaultListableBeanFactory@1384ed5: defining beans [cxf,org.apache.cxf.bus.sprin g.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProc essor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resourc e.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding .BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.ap ache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.a pache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apach e.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,or g.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeC ycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.e ndpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache .cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolver Registry,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apa che.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transpor t.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.Client OnlyHTTPTransportFactory,org.apache.cxf.jaxws.context.WebServiceContextResourceR esolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.bindin g.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.a pache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBind ingFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.ap ache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf .ws.addressing.policy.UsingAddressingAssertionBuilder]; root of factory hierarch y Aug 16, 2010 4:06:15 PM org.apache.cxf.service.factory.ReflectionServiceFactoryB ean buildServiceFromClass INFO: Creating Service {http://bookstore.example.mule.org/}CatalogServiceService from class org.mule.example.bookstore.CatalogService Aug 16, 2010 4:06:36 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFO: Interceptor has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: Could not send Message. at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi ngInterceptor.handleMessage(MessageSenderInterceptor.java:64) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept orChain.java:220) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:17 8) at $Proxy45.getBooks(Unknown Source) at org.apache.jsp.catalog_jsp._jspService(catalog_jsp.java:112) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:374) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 37) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at sun.net.NetworkClient.doConnect(NetworkClient.java:158) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC onnection.java:860) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne ction.java:801) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection .java:726) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo nnection.java:904) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleH eadersTrustCaching(HTTPConduit.java:1834) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirst Write(HTTPConduit.java:1792) at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOu tputStream.java:42) at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresho ldOutputStream.java:69) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(H TTPConduit.java:1852) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:6 6) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:593) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi ngInterceptor.handleMessage(MessageSenderInterceptor.java:62) ... 25 more Aug 16, 2010 4:06:36 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at sun.net.NetworkClient.doConnect(NetworkClient.java:158) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC onnection.java:860) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne ction.java:801) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection .java:726) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo nnection.java:904) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleH eadersTrustCaching(HTTPConduit.java:1834) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirst Write(HTTPConduit.java:1792) at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOu tputStream.java:42) at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresho ldOutputStream.java:69) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(H TTPConduit.java:1852) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:6 6) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:593) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi ngInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept orChain.java:220) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:17 8) at $Proxy45.getBooks(Unknown Source) at org.apache.jsp.catalog_jsp._jspService(catalog_jsp.java:112) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:374) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 37) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:619)

    MuleSoft JIRA | 7 years ago | Daniel Zapata
    java.net.ConnectException: Connection timed out: connect
  2. 0

    Steps to reproduce: From admin-web dir, run: mvn tomcat:run Search for 1984 title (should return one book) Instead of the expected book, you get the following error: Aug 16, 2010 4:06:14 PM org.springframework.beans.factory.support.DefaultListabl eBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support. DefaultListableBeanFactory@1384ed5: defining beans [cxf,org.apache.cxf.bus.sprin g.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProc essor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resourc e.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding .BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.ap ache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.a pache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apach e.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,or g.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeC ycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.e ndpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache .cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolver Registry,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apa che.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transpor t.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.Client OnlyHTTPTransportFactory,org.apache.cxf.jaxws.context.WebServiceContextResourceR esolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.bindin g.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.a pache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBind ingFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.ap ache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf .ws.addressing.policy.UsingAddressingAssertionBuilder]; root of factory hierarch y Aug 16, 2010 4:06:15 PM org.apache.cxf.service.factory.ReflectionServiceFactoryB ean buildServiceFromClass INFO: Creating Service {http://bookstore.example.mule.org/}CatalogServiceService from class org.mule.example.bookstore.CatalogService Aug 16, 2010 4:06:36 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFO: Interceptor has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: Could not send Message. at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi ngInterceptor.handleMessage(MessageSenderInterceptor.java:64) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept orChain.java:220) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:17 8) at $Proxy45.getBooks(Unknown Source) at org.apache.jsp.catalog_jsp._jspService(catalog_jsp.java:112) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:374) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 37) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at sun.net.NetworkClient.doConnect(NetworkClient.java:158) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC onnection.java:860) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne ction.java:801) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection .java:726) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo nnection.java:904) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleH eadersTrustCaching(HTTPConduit.java:1834) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirst Write(HTTPConduit.java:1792) at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOu tputStream.java:42) at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresho ldOutputStream.java:69) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(H TTPConduit.java:1852) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:6 6) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:593) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi ngInterceptor.handleMessage(MessageSenderInterceptor.java:62) ... 25 more Aug 16, 2010 4:06:36 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at sun.net.NetworkClient.doConnect(NetworkClient.java:158) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC onnection.java:860) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne ction.java:801) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection .java:726) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo nnection.java:904) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleH eadersTrustCaching(HTTPConduit.java:1834) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirst Write(HTTPConduit.java:1792) at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOu tputStream.java:42) at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresho ldOutputStream.java:69) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(H TTPConduit.java:1852) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:6 6) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:593) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi ngInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept orChain.java:220) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:17 8) at $Proxy45.getBooks(Unknown Source) at org.apache.jsp.catalog_jsp._jspService(catalog_jsp.java:112) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:374) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3 37) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:619)

    MuleSoft JIRA | 7 years ago | Daniel Zapata
    java.net.ConnectException: Connection timed out: connect
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    HttpURLConnection.getOutputStream
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    7. sun.net.NetworkClient.doConnect(NetworkClient.java:158)
    8. sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    10. sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
    11. sun.net.www.http.HttpClient.New(HttpClient.java:306)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:323)
    13. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
    14. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
    15. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
    16. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:904)
    16 frames
  3. Apache CXF Runtime HTTP Transport
    HTTPConduit$WrappedOutputStream.onFirstWrite
    1. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1834)
    2. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1792)
    2 frames
  4. Apache CXF Core
    AbstractThresholdOutputStream.write
    1. org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
    2. org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
    2 frames
  5. Apache CXF Runtime HTTP Transport
    HTTPConduit$WrappedOutputStream.close
    1. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1852)
    1 frame
  6. Apache CXF Core
    AbstractConduit.close
    1. org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
    1 frame
  7. Apache CXF Runtime HTTP Transport
    HTTPConduit.close
    1. org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:593)
    1 frame
  8. Apache CXF Core
    ClientImpl.invoke
    1. org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
    2. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
    3. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296)
    4. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242)
    4 frames
  9. Apache CXF Runtime Simple Frontend
    ClientProxy.invokeSync
    1. org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
    1 frame
  10. Apache CXF Runtime JAX-WS Frontend
    JaxWsClientProxy.invoke
    1. org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:178)
    1 frame
  11. Unknown
    $Proxy45.getBooks
    1. $Proxy45.getBooks(Unknown Source)
    1 frame
  12. org.apache.jsp
    catalog_jsp._jspService
    1. org.apache.jsp.catalog_jsp._jspService(catalog_jsp.java:112)
    1 frame
  13. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  14. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    1 frame
  15. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    3 frames
  16. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    1 frame
  17. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    8 frames
  18. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    3 frames
  19. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame