Archived

This forum has been archived. Please start a new discussion on GitHub.

IceStorm problem

when I used IceStorm,there is such a exception:

Ice.ConnectionRefusedException
error = 0
at IceInternal.Network.doConnect(Network.java:235)
at IceInternal.TcpConnector.connect(TcpConnector.java:25)
at IceInternal.OutgoingConnectionFactory.create(OutgoingConnectionFactory.java:272)
at IceInternal.Reference.getConnection(Reference.java:654)
at Ice._ObjectDelM.setup(_ObjectDelM.java:184)
at Ice.ObjectPrxHelperBase.__getDelegate(ObjectPrxHelperBase.java:622)
at Ice.ObjectPrxHelperBase.ice_isA(ObjectPrxHelperBase.java:41)
at Ice.ObjectPrxHelperBase.ice_isA(ObjectPrxHelperBase.java:29)
at IceStorm.TopicManagerPrxHelper.checkedCast(TopicManagerPrxHelper.java:152)
at iceEventManager.ReceiveEvent.run(ReceiveEvent.java:72)
at iceEventManager.ReceiveEvent.startReceive(ReceiveEvent.java:128)
at gui.Main$2.run(Main.java:192)
Caused by: java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:521)
at IceInternal.Network.doConnect(Network.java:203)
... 11 more


what's the matter? does it because the message stream is too large?
if I use the thread's sleep function,the speed of transmit message is too slow,what can I do?
can IceStorm use more than one socket at one time?thank you very much!!

Comments

  • Connection refused simply means that the server or service is not running, or it is not running on the host/port specified by the client's proxy.

    Try to run with network tracing (Ice.Trace.Network=2) to find out where the server or service listens, and where the client tries to connect to.