modifications for jboss