1 Reply Latest reply on Jun 20, 2004 1:39 AM by starksm64

    jnp.disableDiscovery?

    marcma

      Hi All.

      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.

      Thanks

      Marc

        • 1. Re: jnp.disableDiscovery?
          starksm64

          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.