java.net.ConnectException: Connection refused

openxava | janesh | 9 years ago
  1. 0

    Tests fails with Connection refused Exception

    openxava | 9 years ago | janesh
    java.net.ConnectException: Connection refused
  2. 0

    Tricking Websites with cookies, etc.

    Oracle Community | 1 decade ago | 843833
    java.io.IOException
  3. 0

    testing jsps

    httpunit | 10 years ago | brianpitts
    java.io.IOException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jbpm-console war deployment failed

    Google Groups | 4 weeks ago | Unknown author
    org.hibernate.exception.GenericJDBCException: Could not open connection
  6. 0

    jbpm-console war deployment failed

    Google Groups | 4 weeks ago | Unknown author
    javax.resource.ResourceException: IJ031084: Unable to create connection

    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.getHeaderFieldKey
      1. java.net.PlainSocketImpl.socketConnect(Native Method)
      2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      5. java.net.Socket.connect(Socket.java:519)
      6. java.net.Socket.connect(Socket.java:469)
      7. sun.net.NetworkClient.doConnect(NetworkClient.java:157)
      8. sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
      9. sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
      10. sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
      11. sun.net.www.http.HttpClient.New(HttpClient.java:304)
      12. sun.net.www.http.HttpClient.New(HttpClient.java:316)
      13. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817)
      14. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769)
      15. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694)
      16. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938)
      17. sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:1952)
      17 frames
    3. HttpUnit
      HttpWebResponse.readHeaders
      1. com.meterware.httpunit.HttpWebResponse.loadHeaders(HttpWebResponse.java:216)
      2. com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:198)
      2 frames
    4. Java RT
      HttpURLConnection.getResponseCode
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      5. sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221)
      8. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910)
      9. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
      9 frames
    5. HttpUnit
      WebClient.getResponse
      1. com.meterware.httpunit.HttpWebResponse.readResponseHeader(HttpWebResponse.java:162)
      2. com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:200)
      3. com.meterware.httpunit.HttpWebResponse.<init>(HttpWebResponse.java:56)
      4. com.meterware.httpunit.HttpWebResponse.<init>(HttpWebResponse.java:67)
      5. com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:76)
      6. com.meterware.httpunit.WebWindow.getResource(WebWindow.java:164)
      7. com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:128)
      8. com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121)
      9. com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:102)
      10. com.meterware.httpunit.WebClient.getResponse(WebClient.java:87)
      10 frames
    6. org.openxava.tests
      ModuleTestBase.setUp
      1. org.openxava.tests.ModuleTestBase.resetModule(ModuleTestBase.java:184)
      2. org.openxava.tests.ModuleTestBase.setUp(ModuleTestBase.java:92)
      2 frames
    7. com.intellij.rt
      JUnitStarter.main
      1. com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
      1 frame
    8. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    9. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
      1 frame