fixed jboss as 7