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

                 Key: FELIX-1882
                 URL: https://issues.apache.org/jira/browse/FELIX-1882
             Project: Felix
          Issue Type: Improvement
            Reporter: Eoghan Glynn


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 down 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)


 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to