BS-11091, fix JBoss classloader issue from Restlet integration