QueueMetrics must e installed in Tomcat so that you have the following files each at the correct position:
yourtomcat/webapps/queuemetrics
this is the main directory for your web-app
yourtomcat/webapps/queuemetrics/WEB-INF/web.xml
This is the main webapp configuration file - if it's missing or invalid, Tomcat will not understand that QM is a webapp and so QM will not work.
To check if the web.xml file is correct, you may use the command xmlwf that comes with Linux. You run it like:
xmlwf < web.xml
If an input file is not well-formed, xmlwf outputs a single line describing the problem to STDOUT. If a file is well formed, xmlwf outputs nothing. Note that the result code is not set.
xmlwf is a part of the expat package/RPM.