Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1882

[karaf] karaf-client should have the option to retry connection establishment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • karaf-1.0.0
    • karaf-1.2.0
    • Karaf
    • None

    Description

      When using the karaf-client to run some automated set-up commands on a newly started karaf instances, there's a slight race condition between the ssh server being ready to accept incoming connections and the point at which the karaf-client is run. This is especially apparent if the karaf instance has a long boot features list.

      To avoid having to artificially delay the client start-up, the karaf-client should accept two new command-line options to enable connection-establishment retry logic:

      -r [attempts] retry connection establishment (up to attempts times)
      -d [delay] intra-retry delay (defaults to 2 seconds)

      Attachments

        1. felix_1882.patch
          3 kB
          Eoghan Glynn

        Activity

          People

            gnodet Guillaume Nodet
            eglynn Eoghan Glynn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: