1 Reply Latest reply on Mar 9, 2004 4:39 PM by adrian.brock

    how to add the property of org.jnp.interfaces.TimedSocketFac

    jbossuserr

      I can use the following java options to specify the properties of JNP when I run the client application,
      -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces"
      -Djava.naming.provider.url=jnp://HOST:1100

      But how do I add the following properties,

      jnp.socketFactory=org.jnp.interfaces.TimedSocketFactory
      jnp.timeout=0
      jnp.sotimeout=0

      without programming inside my application?

      My understanding is that the file "jndi.properites" under "...\conf" was read by the server, my client application does not acess this file, there is no use to add these properties to "jndi.properties" either.

      Thanks.