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

(7.3.z) EJBCLIENT-365 - EJB client - env property takes not effect when value is an Integer rather than String

XMLWordPrintable

      Properties jndiProps = new Properties();
      jndiProps.put(Context.INITIAL_CONTEXT_FACTORY, "org.wildfly.naming.client.WildFlyInitialContextFactory");
      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: