Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what does this error message mean?  RSS feed

 
Tafta Zani
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to connect a middleware for agent development to other middleware in other machine but i got this error message. Connecting two middlewares started locally is no problem.

Error message:

SEVERE: Communication failure while joining agent platform: RMI exception [nested Connection refused to host:127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused]
jade.core.IMTPException: RMI exception [nested Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused]
at jade.imtp.rmi.RMIIMTPManager$PlatformManagerAdapter.getPlatformName(Unknown Source)
at jade.core.ServiceManagerImpl.getPlatformName(Unknown Source)
at jade.core.AgentContainerImpl.init(Unknown Source)
at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
at jade.core.Runtime.createAgentContainer(Unknown Source)
at jade.Boot.<init>(Unknown Source)
at jade.Boot.main(Unknown Source)
Nested Exception:
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at jade.imtp.rmi.ServiceManagerRMIImpl_Stub.getPlatformName(Unknown Source)
at jade.imtp.rmi.RMIIMTPManager$PlatformManagerAdapter.getPlatformName(Unknown Source)
at jade.core.ServiceManagerImpl.getPlatformName(Unknown Source)
at jade.core.AgentContainerImpl.init(Unknown Source)
at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
at jade.core.Runtime.createAgentContainer(Unknown Source)
at jade.Boot.<init>(Unknown Source)
at jade.Boot.main(Unknown Source)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 12 more
 
Tafta Zani
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SEVERE: Communication failure while joining agent
platform: RMI exception [nested Connection refused to
host:127.0.0.1;

I messed with my /etc/hosts and put the hostname beside localhost so it resolve the hostname to 127.0.0.1, case is solved
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!