java.lang.RuntimeException

java.net.ConnectException: Connection refused

Samebug tips4

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1165

  • via Google Groups by bambang teleinfocom, 1 month ago
    java.net.ConnectException: Connection refused: connect
  • via SpringSource Issue Tracker by Yifeng Xiao, 1 year ago
    java.net.ConnectException: Connection refused
  • via Coderanch by Frank Malaga, 7 months ago
    java.net.ConnectException: Connection refused: connect
  • Stack trace

    • java.lang.RuntimeException: java.net.ConnectException: Connection refused at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:154) at com.endeca.itl.component.manager.cmd.task.ComponentManagerTask.getManager(ComponentManagerTask.java:22) at com.endeca.itl.component.manager.cmd.task.DeleteComponentInstanceTask.process(DeleteComponentInstanceTask.java:24) at com.endeca.itl.cmd.BaseCmd.run(BaseCmd.java:412) at com.endeca.itl.component.manager.cmd.ComponentManagerCmd.main(ComponentManagerCmd.java:52) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:114) at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:81) at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:145) ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 times, 1 month ago
    Unknown user
    Once, 11 months ago
    Once, 8 months ago
    282 more bugmates