javax.xml.ws.WebServiceException: Could not send Message.

servicemix-users | Massimiliano Guillaro | 6 years ago
  1. 0

    wsn-http-binding java external client connection refused

    servicemix-users | 6 years ago | Massimiliano Guillaro
    javax.xml.ws.WebServiceException: Could not send Message.
  2. 0

    page erroring out in a web application

    experts-exchange.com | 12 months ago
    javax.xml.ws.WebServiceException: Could not send Message.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Livnat wrote: We are working with JBOSS AS 5.1, JDK6, CXF 3.2. We are trying to activate the reliable session feature of CXF but we keep getting the following error: /SEVERE [RetransmissionQueueImpl] WS-RM retransmission failed. java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1111) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2046) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2022) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1947) at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.resend(RetransmissionQueueImpl.java:350) at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.serverResend(RetransmissionQueueImpl.java:303) at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.access$500(RetransmissionQueueImpl.java:71) at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$3.resend(RetransmissionQueueImpl.java:546) at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.run(RetransmissionQueueImpl.java:417) at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.initiate(RetransmissionQueueImpl.java:406) at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate$1ResendTask.run(RetransmissionQueueImpl.java:500) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)/ We are not using ws-security yet, and we don't use authentication. This error also occurs in a very basic echo example we wrote. all the fixes we saw in the mailing list to set HTTPConduit did not help we also asked Bryan kearney (who worked on it in the past). I attached an ear file with the echo example and an eclipse project with the code and the client (in Test) we use. Can you please tell us if this is a known bug or do we get it wrong?

    JBoss Issue Tracker | 7 years ago | Richard Opalka
    java.net.ConnectException: Connection refused
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

    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.Socket.connect(Socket.java:516)
    6. sun.net.NetworkClient.doConnect(NetworkClient.java:152)
    7. sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
    8. sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
    9. sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
    10. sun.net.www.http.HttpClient.New(HttpClient.java:287)
    11. sun.net.www.http.HttpClient.New(HttpClient.java:299)
    12. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:796)
    13. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:748)
    14. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:673)
    15. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:840)
    15 frames
  3. Apache CXF Runtime HTTP Transport
    HTTPConduit$WrappedOutputStream.onFirstWrite
    1. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:2002)
    2. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1954)
    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:2022)
    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:696)
    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:255)
    3. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
    4. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
    5. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
    5 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:124)
    1 frame
  11. Unknown
    $Proxy44.notify
    1. $Proxy44.notify(Unknown Source)
    1 frame
  12. Apache CXF WSN API
    NotificationBroker_HttpBinding_Client.main
    1. org.oasis_open.docs.wsn.brw_2.NotificationBroker_HttpBinding_Client.main(NotificationBroker_HttpBinding_Client.java:76)
    1 frame