@Barak Sorry to bother you again.
Pre-start agent or cloudify exception cause agent still alive on host, at this time, install an application on this host will throw a file not found exception.
In the whole process of application deployment, the agent installation occupies half the time, so, I want to pre-start agent(use command) in all virtual machines. After start all agent, they can be seen In host tab view of gs-webui, Then when I deploy applications quickly, but at that time, an exception occurred and deployment failed. the exception is :
Failed to execute entry: jetty_install.groovy; Caused by: org.cloudifysource.usm.USMException: Event lifecycle external process exited with abnormal status code: 1 Caught: java.io.FileNotFoundException: /home/vagrant/gigaspaces/work/processing-units/jettyTest_jetty_1_140282317/ext/Xmx512m (/home/vagrant/gigaspaces/work/processing-units/jettyTest_jetty_1_140282317/ext/Xmx512m)
java.io.FileNotFoundException: /home/vagrant/gigaspaces/work/processing-units/jettyTest_jetty_1_140282317/ext/Xmx512m (/home/vagrant/gigaspaces/work/processing-units/jettyTest_jetty_1_140282317/ext/Xmx512m)