refs #490 - avoid usage of servletContext