title: jboss - how to automate retrying deployment of war file
body: <p>When running jboss 7.1 as a windows service (or not), it occasionally takes more than one try to successfully deploy a war file.  This is not a problem when starting jboss manually since restarts are easy.  However, when jboss runs as a windows service and it is restarted automatically (due to a windows patch), jboss itself may launch, but the war may not.</p>
  
  <p>Is there any way to cause jboss to retry deploying the war after it fails the first time - for example, by changing a setting in standalone.xml?</p>