How to detect if Karaf is ready to accept commands via 'client'?
问题 I'm trying to automate the setup of karaf server by issuing commands through bin/client. But I have the following issues: After starting bin/start, I have no idea how long I need to wait before karaf can start accepting commands After each command via bin/client, the subsequent bin/client commands will fail with message 'Failed to acquire the session' for some time, it looks like the previous command is still executed and I must wait some unpredictable amount of time for it to finish. After