Fix deployment to JBoss