Fix jboss upgrade scripts
Merge pull request #3897 from pmorie/dev/jboss-upgrade

Fix jboss upgrade scripts