Uploaded image for project: 'Remoting JMX'
  1. Remoting JMX
  2. REMJMX-77

org.jboss.remoting-jmx.timeout is not used when connecting the first time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 2.0.1.CR2
    • 1.1.0.Final
    • None
    • None

      Timeout second is fixed at 5 seconds and not configurable when a client is trying to connect to the server first time. There is a constant "org.jboss.remoting-jmx.timeout" but it is not used here.

      https://github.com/jbossas/remoting-jmx/blob/1.1.0.Final/src/main/java/org/jboss/remotingjmx/RemotingConnector.java#L185

          207         // open a connection
          208         final IoFuture<Connection> futureConnection = endpoint.connect(convert(serviceUrl), getOptionMap(), handler);
          209         IoFuture.Status result = futureConnection.await(5, TimeUnit.SECONDS);
       

            darran.lofthouse@redhat.com Darran Lofthouse
            rhn-support-onagano Osamu Nagano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: