Hi,
I'm trying to admin an IceGrid registry programmatically.
So, inspired by IceGridNode, I'm developing a node that automatically
register itself and its available server.
One of the node uses collocation to handle the registry.
The servers are in charge to register their adapters.
When the node try to activate the server by itself using startServer,
I don't know why but a _stop Command is fired during the load step.
The same thing seems to happen when I try to activate the server through the IceGridGUI.
This error is strange to me because the node says :Code:-- 04/12/10 20:33:52.308 O3SNode: Activator: activating server `RTS2Server' path = C:\Projects\Techniware\O3SRT\O3S\O3SServer.exe pwd = C:\Projects\Techniware\O3SRT\O3S args = C:\Projects\Techniware\O3SRT\O3S\O3SServer.exe --Ice.Config=C:\\Projects\\Techniware\\O3SRT\\O3S/nodedata/serv ers/RTS2Server/config/config -- 04/12/10 20:33:52.772 O3SNode: Locator: registered server `RTS2Server' process proxy: `2e6e62a4-b0ef-4d0f-bc63-0aae63 d11a90/admin -f Process -t:tcp -h 127.0.0.1 -p 60401' -- 04/12/10 20:33:52.853 O3SNode: Session: admin session `RTS2Admin' created -- 04/12/10 20:33:52.921 O3SNode: Adapter: added adapter `RTS2Adapter' -- 04/12/10 20:33:52.926 O3SNode: Object: added allocatable object `RTS2VariablesProvider' -- 04/12/10 20:33:52.932 O3SNode: Object: added allocatable object `RTS2MessagesProvider' [12-04-2010 18:34:02.935] 3:Error PORTABLE o3s.extension.remote.variables : ObjectAdapterI.cpp:1327: Ice::NotRegistered Exception: no object adapter with id `RTS2Adapter' is registered
RTS2Adapter has been added
and when calling activate on the adapter, the server got the error no object adapter with id `RTS2Adapter' is registered .
But when I activate the server from the command line, it works.
Except that only the adapters appears to be active on the GUI
(not the server).
Thanks,
Laurent

Reply With Quote