added support for jboss 7 deployment