How to disable the auto discovery in a clustered env?
Simply adding the attribute with value=true to the defines of the client vm does not work for us. Seems it is ignored.
Does it need to be set in the jndi.properties? What if we do not have any jndi.properties file on the clientside because we set all attributes via defines. This works for all the attributes but the jnp.disableDiscovery.
Its only read from the InitialContext environment obtained from jndi.properties on one explicitly passed in. jnp.disableDiscovery is not read as a system property. Write your own InitialContextFactory impl that does this.