Archived

This forum has been archived. Please start a new discussion on GitHub.

default collocation optmization

Hi,

Ice.Default.CollocationOptmization=0 does not seem to be affecting the proxies in my application and im at a loss as to why.:confused:

In my config file i have Ice.Default.CollocationOptmization=0 but it does not seem to be affecting my proxies

The following code outputs a 0 and a true, showing the config file is read but the proxy is not turning off collocationoptimization (this code is later followed by an error as the proxy is a blobject)
public void addObject(TestObjectPrx obj, ProbGenerator prob, Current __current) {
		System.out.println(comm.getProperties().getProperty("Ice.Default.CollocationOptmization"));
		System.out.println(obj.ice_isCollocationOptimized());
		objs.add(objcast);
		probGen.add(prob);
	}

It is probably something minor i am missing and thanks for any help you can offer

Comments

  • mes
    mes California
    Hi,

    I noticed that there's a misspelling in your property name. It should be

    Ice.Default.CollocationOptimization=0

    Take care,
    - Mark
  • Aah :o

    3.1.1 manual has it spelt wrong in the references, thatll teach me for not using the newer the manual.
  • Our apologies for the typo in earlier versions of the manual. As you say, it's correct in the latest version.

    Cheers,

    Michi.