Finite temperature and boundary effects in static space-times