java.rmi.ConnectException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

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

  • GitHub comment 500#111537428
    via GitHub by activeeon-bot
    ,
  • Java RMI Connection Refused to Host
    via by Unknown author,
  • Remote JNDI/EJB Problems
    via by Chris,
  • Connection refused RMI
    via by luc neulens,
    • java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: (link: junit) java.net.ConnectException: Connection refused at org.objectweb.proactive.core.group.ProcessForOneWayCall.run(ProcessForOneWayCall.java:82) at org.objectweb.proactive.core.group.BufferedTaskContainer.run(BufferedTaskContainer.java:68) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: (link: junit) java.net.ConnectException: Connection refused ... 5 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at java.net.Socket.connect(Socket.java:470) at java.net.Socket.<init>(Socket.java:367) at java.net.Socket.<init>(Socket.java:180) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94) at org.objectweb.proactive.core.remoteobject.rmi.RmiRemoteObjectImpl_Stub.receiveMessage(Unknown Source) at org.objectweb.proactive.core.remoteobject.RemoteObjectAdapter.receiveMessage(RemoteObjectAdapter.java:164) at org.objectweb.proactive.core.remoteobject.SynchronousProxy.reify(SynchronousProxy.java:73) at pa.stub.org.objectweb.proactive.core.body._StubUniversalBody.receiveRequest(_StubUniversalBody.java) at org.objectweb.proactive.core.body.UniversalBodyRemoteObjectAdapter.receiveRequest(UniversalBodyRemoteObjectAdapter.java:172) at org.objectweb.proactive.core.body.request.RequestImpl.sendRequest(RequestImpl.java:304) at org.objectweb.proactive.core.body.request.RequestImpl.send(RequestImpl.java:157) at org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.sendRequest(BodyImpl.java:687) at org.objectweb.proactive.core.body.AbstractBody.sendRequest(AbstractBody.java:965) at org.objectweb.proactive.core.body.proxy.UniversalBodyProxy.sendRequestInternal(UniversalBodyProxy.java:396) at org.objectweb.proactive.core.body.proxy.UniversalBodyProxy.sendRequest(UniversalBodyProxy.java:375) at org.objectweb.proactive.core.body.proxy.UniversalBodyProxy.sendRequest(UniversalBodyProxy.java:323) at org.objectweb.proactive.core.body.proxy.AbstractBodyProxy.reifyAsOneWay(AbstractBodyProxy.java:195) at org.objectweb.proactive.core.body.proxy.AbstractBodyProxy.invokeOnBody(AbstractBodyProxy.java:137) at org.objectweb.proactive.core.body.proxy.AbstractBodyProxy.reify(AbstractBodyProxy.java:113) at org.objectweb.proactive.core.group.ProcessForOneWayCall.executeMC(ProcessForOneWayCall.java:106) at org.objectweb.proactive.core.group.ProcessForOneWayCall.run(ProcessForOneWayCall.java:80) ... 4 more

    Users with the same issue

    filipebatistafilipebatista
    1 times, last one,
    tvrmsmithtvrmsmith
    11 times, last one,
    batwalrus76batwalrus76
    5 times, last one,
    rocdayrocday
    3 times, last one,
    Михайло ТітовМихайло Тітов
    16 times, last one,
    274 more bugmates