[ https://issues.apache.org/jira/browse/FELIX-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-1882. ------------------------------------ Resolution: Fixed Committing to https://svn.apache.org/repos/asf/felix/trunk ... M karaf/client/src/main/java/org/apache/felix/karaf/client/Main.java Committed r882582 > [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 > Components: Karaf > Affects Versions: karaf-1.0.0 > Reporter: Eoghan Glynn > Assignee: Gert Vanthienen > Fix For: karaf-1.0.2, karaf-1.2.0 > > Attachments: felix_1882.patch > > > 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) > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.