java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: (link: junit) java.net.ConnectException: Connection refused


Solutions on the web1

Solution icon of github
via GitHub by activeeon-bot
, 9 months ago
Connection refused to host: 127.0.0.1; nested exception is: (link: junit) java.net.ConnectException: Connection refused

Stack trace

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

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

338 times, 1 hour ago
861 times, 1 hour ago
Once, 1 hour ago
2 times, 4 days ago
Once, 5 days ago
294 more bugmates