BPMS-920: This commit is to support jboss7