Home Help Center

Ice 3.1 client with an Ice 3.0.1 server?

bartleybartley Member Chris BartleyOrganization: Carnegie Mellon University Robotics InstituteProject: The Telepresence Robot Kit (TeRK) ✭✭
Should I be able to use a client using Ice 3.1 with a server using Ice 3.0.1? I'm getting this error when I try:
CommandLineClient.exe: Ice.OperationNotExistException: OperationNotExistException
    id.name = "router"
    id.category = "TerkGlacier"
    facet = ""
    operation = "addProxies"
   at IceInternal.ProxyFactory.checkRetryAfterException(LocalException ex, Reference ref, Int32 cnt) in c:\src\vc80\stage\IceCS-3.1.0\src\Ice\ProxyFactory.cs:line 122
   at Ice.ObjectPrxHelperBase.handleException__(LocalException ex, Int32 cnt) in c:\src\vc80\stage\IceCS-3.1.0\src\Ice\Proxy.cs:line 838
   at peer.UserSessionPrxHelper.registerCallbacks(ObjectPrx selfCallbackProxy, ConnectionEventHandlerPrx connectionEventHandlerProxy, Context context__) in D:\CPB\Documents\Work\Projects\TeRKClient\code\c#\CommandLineClient\CommandLineClient\MRPLPeer.cs:line 2688
   at peer.UserSessionPrxHelper.registerCallbacks(ObjectPrx selfCallbackProxy, ConnectionEventHandlerPrx connectionEventHandlerProxy) in D:\CPB\Documents\Work\Projects\TeRKClient\code\c#\CommandLineClient\CommandLineClient\MRPLPeer.cs:line 2666
   at CommandLineClient.run(String[] args) in D:\CPB\Documents\Work\Projects\TeRKClient\code\c#\CommandLineClient\CommandLineClient\CommandLineClient.cs:line 82
   at Ice.Application.main(String[] args, InitializationData initData) in c:\src\vc80\stage\IceCS-3.1.0\src\Ice\Application.cs:line 116

The server is using Ice for Java 3.0.1 (and Glacier). The client is written in C#, using Ice 3.1.0. I searched the docs for both Ice versions and see a few references to addProxies() in the 3.1 docs. But it appears to be called within the Ice core somewhere. Is there a workaround, or am I doing something wrong?

thanks,

chris

Comments

  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Hi,

    Due to interface changes in Ice 3.1 it is not possible to use a 3.1 client with a 3.0.1 Glacier2 server. The reverse will work though, a 3.0.1 client with a 3.1 Glacier2 server.

    Regards,
    Dwayne
  • bartleybartley Member Chris BartleyOrganization: Carnegie Mellon University Robotics InstituteProject: The Telepresence Robot Kit (TeRK) ✭✭
    Wow, good to know. Thanks! :)
Sign In or Register to comment.