Uploaded image for project: 'WildFly Naming Client'
  1. WildFly Naming Client
  2. WFNC-56

Naming client - env property takes no effect when value is an Integer rather than String

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.12.Final
    • None
    • None

      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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: