added missing shutdown of resource managers
fixed order of servlet destruction