Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18496

(7.2.z) WFNC-56 - Naming client - env property takes no effect when value is an Integer rather than String

XMLWordPrintable

      Properties jndiProps = new Properties();
      jndiProps.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory");
      jndiProps.put(Context.PROVIDER_URL,"http-remoting://localhost:8080");
      jndiProps.put("invocation.timeout", 500);
      context = new InitialContext(jndiProps);
      

      The "invocation.timeout" property has no effect, if it's set as an integer.

              thofman Tomas Hofman
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: