create script for restart jboss application