...
- modify WEB-INF/web.xml to remove the Tomcat Security Constraint to all the basic pages by commenting out the following xml code:
Code Block <!-- <security-constraint> <web-resource-collection> <web-resource-name>Probe User URLs</web-resource-name> <url-pattern>*.htm</url-pattern> <url-pattern>*.jsp</url-pattern> </web-resource-collection> <auth-constraint> <role-name>probeuser</role-name> <role-name>poweruser</role-name> <role-name>manager</role-name> <role-name>poweruserplus</role-name> </auth-constraint> </security-constraint> -->
- add a new Quick Check in XML format in a non-protected area by editing the file WEB-INF/spring-controllers.xml and adding the following bean:
The Monitoring tools can now check the status of a server at *http://_serverName_:_serverPort_/probe/safe/quickcheck.xml.htm*.Code Block <bean name="/safe/quickcheck.xml.htm" class="org.jstripe.tomcat.probe.controllers.TomcatAvailabilityController"> <property name="containerWrapper" ref="containerWrapper"/> <property name="containerListenerBean" ref="containerListener"/> <property name="viewName" value="quickcheck.xml"/> </bean>