Hi,
i try to go my first steps with the icebox and c#. But i won't work for me, so hope someone can help me here.
I compile an dll with the class where the extended IceBox.Service Class is implemented. This dll comes also with the config file:
where the start method appears like this:
_adapter = communicator.createObjectAdapter(name);
_adapter.add(new SCMRespositoryIcer(),Ice.Util.stringToIdentity("sc mRepository"));
factory.loginCommunicator(communicator);
scmFactory.loginCommunicator(communicator);
_adapter.activate();
IceBox.ServiceManager.Endpoints=tcp -p 12345
IceBox.Service.scmRepository=SCMRepositoryDaemon.d ll:RepositoryDaemon
scmRepository.EndPoint=tcp -p 11001
when i start the icebox with "mono /usr/bin/iceboxnet.exe --Ice.Config=icebox.config" no message appears and it seems to run.
So i tried to run an client which creates an proxy:
url = string.Format("scmRepository:tcp -h {0} -p {1}",host,port);
iceProxy = SCMRepositoryIcePrxHelper.checkedCast(communicator .stringToProxy(url));
but here i get an Ice.ConnectionRefused error!
i looked at the parameters host and port but they are correct. so i don't know what my mistake is.
Hope someone can help me.
Thanks in advance
Thomas

Reply With Quote