adding support for commutniy version jbossas-7