RFE: ability to specify connection timeout for a JMXConnector

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 1.0, 1.4.2, 5.0
    • Component/s: core-svc
    • None

      JMXConnector.connect() will block for the default TCP connect timeout if the remote machine is unavailable. Unless the global VM settings are changed, this is of the order of a couple of minutes.

      It would be useful to be able to provide a timeout value for a connection, to be able to deal with error cases better.

      JMXConnector.connect(Map env)

      could take a new key/value pair to specify a connection timeout value, and then Socket.connect(SocketAddress, timeout) could be called underneath.
      ###@###.### 10/27/04 12:38 GMT

            Assignee:
            Harsha Wardhana B (Inactive)
            Reporter:
            Nick Stephen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: