How to set health check servlet on
2 years ago
Originally Published: 2006-08-29
Article Number
000042231
Applies To
Tomcat
Health check
web.xml
Issue
How to set health check servlet on
Resolution
All flags set in the URL are acted upon. However, you will not get a verbose response unless you unlock the servlet in the web.xml configuration with a parameter of secure = false. However, this parameter is *not* put in place because we do not want customers to turn it on and then forget.

The parameter to be set is as follows:

<servlet>

<servlet-name>HealthCheck</servlet-name>

<servlet-class> com.passmarksecurity.servlet.HealthCheckServlet </servlet-class>

<load-on-startup>2</load-on-startup>

<init-param>

<param-name>secure</param-name>

<param-value>false</param-value>

</init-param>

</servlet>