title: Performing deployment of application and restarting of domain in the same server
body: <p>I am using hudson which will run scheduled builds from time to time.</p>
  
  <p>Problem is that i configured a shell script which will be excuted to perform the deployment and also restarting of domain.</p>
  
  <p>As hudson is on the same application server as the actual application.</p>
  
  <p>My hudson will stop and also stop the shell script after the asadmin stop-domain command so it doesn't proceed to start back the domain.</p>
  
  <p>What can i do to resolve this issue?</p>