Home Help Center

update ice from 3.3.1 to 3.5.1

yuzexuyuzexu Member Gem yuOrganization: University of National DefenceProject: 10000 Clients throught local area network
when i use 3.3.1, i can start the icegridnode and disable、stop the icebox service
then debug the icebox service use

public class Main

* @param args
public static void main(String[] args)
args = new String[1];
final File configDirectory = new File("D:\\icegrid\\db\\node\\servers");
final StringBuffer sb = new StringBuffer("--Ice.Config=");
for(File file : configDirectory.listFiles())
args[0] = sb.substring(0 , sb.length() - 1);
Server server = new Server();
server.main("Application", args);



depend Icebox/Server.java and Icebox/ServiceManagerI.java

but when i update to 3.5.1
i can start the icegridnode and the icebox service work
but when i debug run the java project

use the code connect the server:

_communicator = Ice.Util.initialize(id);
_communicator.setDefaultLocator(_locatorPrx = Ice.LocatorPrxHelper.checkedCast(_communicator.stringToProxy("MyIceGrid/Locator:tcp -h -p 4061")));
final slice.TestOperPrx testOperPrx = slice.TestOperPrxHelper


the ice run time throw Ice.NoEndpointException
proxy = "Test -t -e 1.1"


  • joshmoorejoshmoore GermanyMember Josh MooreOrganization: Glencoe Software, Inc.Project: OME, http://openmicroscopy.org
    We're investing similar issues after a user response: [ome-users] OMERO 4.4.9 won't start after upgrade from 4.4.5. Could this be related to the IP6 changes?

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff

    This is most likely related to the new 1.1 encoding version introduced with Ice 3.5.

    Stringified proxies from Ice 3.5 will by default use the 1.1 encoding. If this encoding isn't supported by IceGrid or the server you might get this Ice::NoEndpointException exception. You can try setting Ice.Default.EncodingVersion=1.0 in your client to use the 1.0 encoding by default for stringified proxies.

    See New in Ice 3.5: Encoding Version 1.1 for additional information.

Sign In or Register to comment.