Author Topic: Updating QM  (Read 3699 times)

vlad.dc

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Updating QM
« on: May 08, 2008, 17:22:56 »
Hello,

I had follow this guide:
http://astrecipes.net/index.php?from=226&q=astrecipes/manually+updating+queuemetrics

but QM is don't updated, on:
/usr/local/queuemetrics/tomcat/webapps
I had changed the link to:
queuemetrics -> /usr/local/queuemetrics/webapps/queuemetrics-1.4.4b5

After restart QM with:
 /etc/init.d/queuemetrics restart

The version is the same: Loway QueueMetrics - 1.4.3

Please help me to update...

Vlad.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Updating QM
« Reply #1 on: May 08, 2008, 18:02:52 »
Is the new webapp working? if you go to http://serverip:8080/queuemetrics-1.4.4b5 do you see anything?
BTW, are you running a custom beta version?

vlad.dc

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Updating QM
« Reply #2 on: May 08, 2008, 18:04:58 »
The trick is change the next file:

/usr/local/queuemetrics/tomcat/conf/Catalina/localhost/queuemetrics.xml

Code: [Select]
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="/usr/local/queuemetrics/webapps/queuemetrics-1.X.X" path="/queuemetrics">
</Context>

Solved.

vlad.dc

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Updating QM
« Reply #3 on: May 08, 2008, 18:15:14 »
Hello QueueMetrics!

From:
http://QMIP:8080/queuemetrics-1.4.4b5

Only get:
----------
HTTP Status 404 - /queuemetrics-1.4.4b5
type Status report
message /queuemetrics-1.4.4b5
description The requested resource (/queuemetrics-1.4.4b5) is not available.
Apache Tomcat/5.0.28
----------

But the issue was solved with the modify to queuemetrics.xml
And yes... is a custom beta version.

Regards.

Vlad.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Updating QM
« Reply #4 on: May 09, 2008, 09:09:39 »
Yes as an alternative you can simply delete that file and it will be rebuilt.
Nice to see it's working.  ;D