1 Reply Latest reply on Sep 19, 2007 3:45 PM by R Firoz

    How and where to configure JNP.SocketFactory?

    R Firoz Newbie

      In the documentation it says the jboss now supports jnp.socketFactory and its properties. I was wondering where can I configure this, is it in Jboss-service.xml or somewhere else? All I need to do is to configure the timeouts on the TimedSocketFactory. Any help is appreciated.

      Thanks,

        • 1. Re: How and where to configure JNP.SocketFactory?
          R Firoz Newbie

          well, well, well

          I finally found the answer myself. You can configure these properties in jndi.properties file as follows:

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

          If you are planning on using TimedSocketFactory, then you don't need to specify that since that is the default value.

          Hope this helps others.