Fix issues to deploy example on karaf (standalone)