Wednesday, September 12, 2012

JBoss 7 re-deployment


The reason using these manual steps is war:inplace makes a mess if there are war overlays
In Jboss standalone.xml make sure you disable scanning for exploded deploys

Make sure you install inotify-tools (in ubuntu) test for exec as inotifywait
in war maven pom.xml have for exploded as
To deploy un-zipped run command as "mvn war:exploded"
To force reload of app in jboss make a touch as "touch $JBOSS_HOME/standalone/deployments/test-ui.war.dodeploy"
To Make a inotify cron rsync do as follows, have a shell script as