Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-365

EJB client - env property takes not effect when value is an Integer rather than String

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None

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

                Created:
                Updated:
                Resolved: