First attempt at fixing Jboss deployment