Author Topic: Logging problems  (Read 3732 times)

tlathane

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
    • Email
Logging problems
« on: May 28, 2007, 15:13:29 »
Hi everyone,

I just installed queuemetrics on my asterisk box,and i get the following error when i try logging in queuemetrics.


HTTP Status 404 - /queuemetrics/tpf
--------------------------------------------------------------------------------

type Status report

message /queuemetrics/tpf

description The requested resource (/queuemetrics/tpf) is not available
.





Please Help

Thanks
Tumelo

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Logging problems
« Reply #1 on: May 30, 2007, 09:46:06 »
QueueMetrics must e installed in Tomcat so that you have the following files each at the correct position:


Code: [Select]
yourtomcat/webapps/queuemetrics

this is the main directory for your web-app

Code: [Select]
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:

Code: [Select]
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.
« Last Edit: May 30, 2007, 09:54:15 by QueueMetrics »