Hi:
Ice 3.4.1 on Windows Server 2008 R2(x64) C#
I am using 2 topics. Topic "Source" and topic "Target". Source is linked to Target with weight 0. The subscriber is listening on both topics. The publisher is publishing only on topic Source, but the subscriber get messages on both topics.
So this works as expected.
Problem:
When I restart IceStorm, subscriber only receives messages on topic source. I suspect that the freeze fails to store subscribers properly that are connected to a topic that is linked to.
This is what I get the second time in the IceStorm log: Note local address = 0.0.0.0:57450
-- 04/30/11 11:37:34.541 icebox-IceStorm: Network: tcp connection established
local address = 192.168.0.101:57448
remote address = 192.168.0.101:10099
-- 04/30/11 11:37:35.569 icebox-IceStorm: Network: failed to establish tcp connection
local address = 0.0.0.0:57449
remote address = <not connected>
Network.cpp:1387: Ice::ConnectionRefusedException:
connection refused: The remote computer refused the network connection.
-- 04/30/11 11:37:35.600 icebox-IceStorm: Network: trying to establish tcp connection to 192.168.0.101:57369
-- 04/30/11 11:37:36.615 icebox-IceStorm: Network: failed to establish tcp connection
local address = 0.0.0.0:57450
remote address = <not connected>
Network.cpp:1387: Ice::ConnectionRefusedException:
connection refused: The remote computer refused the network connection.
-! 04/30/11 11:37:36.645 icebox-IceStorm: warning: Subscriber:DemoIceStorm/topic.Target1: subscriber offline: Network.cpp:1387: Ice::Connect
ionRefusedException:
connection refused: The remote computer refused the network connection. discarding events: 60s retryCount: -1
I attached the code that replicates this. Config is hard coded.

Reply With Quote