org.apache.cxf.interceptor.Fault: Could not send Message.

cxf-users | neon | 4 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. 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 refused: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    HttpURLConnection.getOutputStream
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:75)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
    8. java.net.Socket.connect(Socket.java:579)
    9. sun.net.NetworkClient.doConnect(NetworkClient.java:175)
    10. sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
    11. sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
    12. sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
    13. sun.net.www.http.HttpClient.New(HttpClient.java:290)
    14. sun.net.www.http.HttpClient.New(HttpClient.java:306)
    15. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
    16. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
    17. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
    18. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
    18 frames
  3. Apache CXF Runtime HTTP Transport
    URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.onFirstWrite
    1. org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.setupWrappedStream(URLConnectionHTTPConduit.java:168)
    2. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1282)
    3. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1233)
    4. org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.onFirstWrite(URLConnectionHTTPConduit.java:195)
    4 frames
  4. Apache CXF Core
    AbstractThresholdOutputStream.write
    1. org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:47)
    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:1295)
    1 frame
  6. Apache CXF Core
    AbstractConduit.close
    1. org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
    1 frame
  7. Apache CXF Runtime HTTP Transport
    HTTPConduit.close
    1. org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:622)
    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:271)
    3. org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
    4. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
    5. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
    6. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
    6 frames
  9. Apache CXF Runtime Simple Frontend
    ClientProxy.invokeSync
    1. org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
    1 frame
  10. Apache CXF Runtime JAX-WS Frontend
    JaxWsClientProxy.invoke
    1. org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:133)
    1 frame
  11. Unknown
    $Proxy26.sayHi
    1. $Proxy26.sayHi(Unknown Source)
    1 frame
  12. com.student
    test123.main
    1. com.student.test123.main(test123.java:19)
    1 frame