Hi All
I am new and try to run demo on my local box. I use C# demo of IceStrom. The box is Win7. Ice version is 3.4.2
The error message are :
System.MissingFieldException: Field not found: 'IceUtilInternal.StringUtil.OrdinalStringComparer' .
at IceInternal.IncomingBase.handleException__(Excepti on exc) in c:\IceBuilds\VC9\Release\cf\src\Ice\Incoming.cs:li ne 212
-! 2/6/2012 12:10:56:742 subscriber.exe: warning: dispatch exception:
identity: 819fd58c-9812-4bdd-b761-67032a0b47cf
facet:
operation: tick
remote host: xxx.xxx.xxx.99 remote port: 57642
System.MissingFieldException: Field not found: 'IceUtilInternal.StringUtil.OrdinalStringComparer' .
at IceInternal.IncomingBase.handleException__(Excepti on exc) in c:\IceBuilds\VC9\Release\cf\src\Ice\Incoming.cs:li ne 212
-! 2/6/2012 12:10:57:742 subscriber.exe: warning: dispatch exception:
identity: 819fd58c-9812-4bdd-b761-67032a0b47cf
facet:
operation: tick
remote host: xxx.xxx.xxx.99 remote port: 57642
System.MissingFieldException: Field not found: 'IceUtilInternal.StringUtil.OrdinalStringComparer' .
at IceInternal.IncomingBase.handleException__(Excepti on exc) in c:\IceBuilds\VC9\Release\cf\src\Ice\Incoming.cs:li ne 212
I started demo following the instruction in Readme.txt
In cmd window 1:
icebox --Ice.Config=config.icebox
In cmd window 2: (I also tried subscriber tick, errer message is from tick )
subscriber time
In cmd window 3: (I also tried publisher tick)
publisher time
The config file as follows:
##########################
##config.icebox
IceBox.ServiceManager.Endpoints=tcp -p 9998
Ice.Warn.Connections=1
Ice.Trace.Network=2
Ice.Trace.Protocol=1
#########################
##the service file: config.service
IceStorm.InstanceName=DemoIceStorm
IceStorm.TopicManager.Endpoints=default -p 10000
IceStorm.Publish.Endpoints=tcp -p 10001:udp -p 10001
IceStorm.Trace.TopicManager=2
IceStorm.Trace.Topic=1
IceStorm.Trace.Subscriber=1
IceStorm.Flush.Timeout=2000
Ice.Trace.Network=2
Freeze.DbEnv.IceStorm.DbHome=db
The message from icebox: (I replaced real ip address with xxx.xxx.xxx.99)
================================================== ====
-- 02/06/12 12:10:35.782 icebox: Network: attempting to bind to tcp socket 0.0.0.0:9998
-- 02/06/12 12:10:35.795 icebox: Network: accepting tcp connections at 0.0.0.0:9998
local interfaces: xxx.xxx.xxx.99, 127.0.0.1
-- 02/06/12 12:10:35.814 icebox: Network: published endpoints for object adapter `IceBox.ServiceManager':
tcp -h xxx.xxx.xxx.99 -p 9998
-- 02/06/12 12:10:35.837 icebox-IceStorm: Network: attempting to bind to tcp socket 0.0.0.0:10000
-- 02/06/12 12:10:35.852 icebox-IceStorm: Network: accepting tcp connections at 0.0.0.0:10000
local interfaces: xxx.xxx.xxx.99, 127.0.0.1
-- 02/06/12 12:10:35.870 icebox-IceStorm: Network: published endpoints for object adapter `IceStorm.TopicManager':
tcp -h xxx.xxx.xxx.99 -p 10000
-- 02/06/12 12:10:35.885 icebox-IceStorm: Network: attempting to bind to tcp socket 0.0.0.0:10001
-- 02/06/12 12:10:35.895 icebox-IceStorm: Network: accepting tcp connections at 0.0.0.0:10001
local interfaces: xxx.xxx.xxx.99, 127.0.0.1
-- 02/06/12 12:10:35.912 icebox-IceStorm: Network: attempting to bind to udp socket 0.0.0.0:10001
-- 02/06/12 12:10:35.925 icebox-IceStorm: Network: starting to receive udp packets
local address = 0.0.0.0:10001
local interfaces: xxx.xxx.xxx.99, 127.0.0.1
-- 02/06/12 12:10:35.944 icebox-IceStorm: Network: published endpoints for object adapter `IceStorm.Publish':
tcp -h xxx.xxx.xxx.99 -p 10001:udp -h xxx.xxx.xxx.99 -p 10001
-- 02/06/12 12:10:36.312 icebox-IceStorm: TopicManager: loading topic "time" from database. id: DemoIceStorm/topic.time subscribers:
-- 02/06/12 12:10:45.569 icebox-IceStorm: Network: accepted tcp connection
local address = 127.0.0.1:10000
remote address = 127.0.0.1:57636
-- 02/06/12 12:10:45.681 icebox-IceStorm: Network: accepted tcp connection
local address = xxx.xxx.xxx.99:10000
remote address = xxx.xxx.xxx.99:57637
-- 02/06/12 12:10:45.713 icebox-IceStorm: Network: accepted tcp connection
local address = xxx.xxx.xxx.99:10001
remote address = xxx.xxx.xxx.99:57638
-- 02/06/12 12:10:55.207 icebox-IceStorm: Network: accepted tcp connection
local address = 127.0.0.1:10000
remote address = 127.0.0.1:57639
-- 02/06/12 12:10:55.453 icebox-IceStorm: Network: accepted tcp connection
local address = xxx.xxx.xxx.99:10000
remote address = xxx.xxx.xxx.99:57641
-- 02/06/12 12:10:55.476 icebox-IceStorm: Topic: time: subscribeAndGetPublisher: 819fd58c-9812-4bdd-b761-67032a0b47cf
-- 02/06/12 12:10:55.740 icebox-IceStorm: Network: trying to establish tcp connection to xxx.xxx.xxx.99:57640
-- 02/06/12 12:10:55.760 icebox-IceStorm: Network: tcp connection established
local address = xxx.xxx.xxx.99:57642
remote address = xxx.xxx.xxx.99:57640
-- 02/06/12 12:10:58.639 icebox-IceStorm: Network: closing tcp connection
local address = 127.0.0.1:10000
remote address = 127.0.0.1:57639
-- 02/06/12 12:10:58.639 icebox-IceStorm: Network: closing tcp connection
local address = xxx.xxx.xxx.99:57642
remote address = xxx.xxx.xxx.99:57640
-- 02/06/12 12:10:58.657 icebox-IceStorm: Network: closing tcp connection
local address = xxx.xxx.xxx.99:10000
remote address = xxx.xxx.xxx.99:57641
=================================================
message from subscriber window:
-! 2/6/2012 12:10:55:823 subscriber.exe: warning: dispatch exception:
identity: 819fd58c-9812-4bdd-b761-67032a0b47cf
facet:
operation: tick
remote host: xxx.xxx.xxx.99 remote port: 57642
System.MissingFieldException: Field not found: 'IceUtilInternal.StringUtil.OrdinalStringComparer' .
at IceInternal.IncomingBase.handleException__(Excepti on exc) in c:\IceBuilds\VC9\Release\cf\src\Ice\Incoming.cs:li ne 212
-! 2/6/2012 12:10:56:742 subscriber.exe: warning: dispatch exception:
identity: 819fd58c-9812-4bdd-b761-67032a0b47cf
facet:
operation: tick
remote host: xxx.xxx.xxx.99 remote port: 57642
System.MissingFieldException: Field not found: 'IceUtilInternal.StringUtil.OrdinalStringComparer' .
at IceInternal.IncomingBase.handleException__(Excepti on exc) in c:\IceBuilds\VC9\Release\cf\src\Ice\Incoming.cs:li ne 212
-! 2/6/2012 12:10:57:742 subscriber.exe: warning: dispatch exception:
identity: 819fd58c-9812-4bdd-b761-67032a0b47cf
facet:
operation: tick
remote host: xxx.xxx.xxx.99 remote port: 57642
System.MissingFieldException: Field not found: 'IceUtilInternal.StringUtil.OrdinalStringComparer' .
at IceInternal.IncomingBase.handleException__(Excepti on exc) in c:\IceBuilds\VC9\Release\cf\src\Ice\Incoming.cs:li ne 212
===============================================
message from publisher window:
publishing tick events. Press ^C to terminate the application.
After I terminat the subscriber, I got connect error. this is understable
-- 02/06/12 12:10:59.753 icebox-IceStorm: Network: failed to establish tcp connection
local address: 0.0.0.0:57643
remote address: xxx.xxx.xxx.99:57640
Network.cpp:1387: Ice::ConnectionRefusedException:
connection refused: The remote computer refused the network connection.
-- 02/06/12 12:10:59.802 icebox-IceStorm: Network: trying to establish tcp connection to xxx.xxx.xxx.99:57640
-- 02/06/12 12:11:00.815 icebox-IceStorm: Network: failed to establish tcp connection
local address: 0.0.0.0:57644
remote address: xxx.xxx.xxx.99:57640
Network.cpp:1387: Ice::ConnectionRefusedException:
connection refused: The remote computer refused the network connection.
-- 02/06/12 12:11:00.841 icebox-IceStorm: Subscriber: 0000000002CD88E0 819fd58c-9812-4bdd-b761-67032a0b47cf subscriber errored out: Network.cpp:1387: Ice::ConnectionRefusedException:
connection refused: The remote computer refused the network connection. retry: 0/0
-- 02/06/12 12:11:00.866 icebox-IceStorm: Network: trying to establish tcp connection to xxx.xxx.xxx.99:57640
-- 02/06/12 12:11:01.884 icebox-IceStorm: Network: failed to establish tcp connection
local address: 0.0.0.0:57645
remote address: xxx.xxx.xxx.99:57640
Network.cpp:1387: Ice::ConnectionRefusedException:
connection refused: The remote computer refused the network connection.
-- 02/06/12 12:11:02.095 icebox-IceStorm: Network: closing tcp connection
local address = 127.0.0.1:10000
remote address = 127.0.0.1:57636
-- 02/06/12 12:11:02.114 icebox-IceStorm: Network: closing tcp connection
local address = xxx.xxx.xxx.99:10000
remote address = xxx.xxx.xxx.99:57637
-- 02/06/12 12:11:02.129 icebox-IceStorm: Network: closing tcp connection
local address = xxx.xxx.xxx.99:10001
remote address = xxx.xxx.xxx.99:57638
Thanks
C Shen

Reply With Quote
