Wolfgang Knauf wrote:
-when a file ".dodeploy" is detected: will the server (no matter what state the app has) redeploy it and afterwards delete this file? E.g. in ".isfailed" state, the app would then be redeployed when the ".isfailed" file is deleted ANd when a ".dodeploy" file is created? The ".dodeploy" file will be deleted when the redeploy starts?
If auto-deploy is enabled, yes, either removing the .failed file or adding a .dodeploy file will trigger deployment. Putting down a .dodeploy is equivalent to invoking a command; we'll try and carry out the command.
The .dodeploy file is deleted when the operation either succeeds or fails.
-when is an app added to "standalone.xml"? When deployed successfully AND when deployed with errors?
The scanner tells the management layer to do the deployment but to roll it back if the deployment layer reports a failure. So if it the deployment layer reports a failure, the deployment should not appear in standalone.xml..