Fix to allow snowdrop to register with jboss7.2