Added debug for jboss 6 upgrade