Second attempt at fixing Jboss deployment