Closed GoogleCodeExporter closed 8 years ago
It seems that you use the optional collect server documented at:
https://code.google.com/p/javamelody/wiki/UserGuideAdvanced#Optional_centralizat
ion_server_setup
Note that using the collect server is optional and is not recommended in the
general case: the monitoring in the webapp is generally enough. Moreover in
your case, you have installed the collect server on the same server that the
monitored webapp ; there is no added value to use the collect server in this
case, because you have increased cpu and memory used instead of decreasing them.
Your issue is that you are trying to display the monitoring page of the webapp
to get reports, instead of the page of the collect server.
Make a choice and do not use this monitoring page if you use the optional
collector server: either use the monitoring page from the webapp (remove the
collector server and restart the webapp), or use the page from the collector
server.
But I have one question please:
What in the documentation have made you think that you should install a collect
server?
(I should probably fix that whatever it was)
Original comment by evernat@free.fr
on 1 Feb 2015 at 4:17
Thanks for your help. I deleted the collect server and restarted Tomcat and it
looks like the problems have gone away.
In terms of documentation, here's how I ended up with this install. I had been
googling for tools like this, and I think I first saw Javamelody mentioned in a
Stackoverflow comment (I couldn't find it again) as having a feature of easy
installation as a war file. So I went to your releases page, saw the war file
there, and installed that. I mistakenly interpreted "optional" as meaning "hey,
here's a convenient installation option" instead of "this is a non-standard
alternative". I went to the collect server page and I think I tried to enter
something in the fields, but it didn't work, so then I went to the user
installation guide. It was then I learned about the individual jar files, so I
installed those. But now I found the warning in your advanced user's guide
about the incompatibility.
My recommendation would be to copy the incompatibility remark in one or both of
these places:
https://code.google.com/p/javamelody/wiki/UserGuide#Setup
https://github.com/javamelody/javamelody/releases
Thanks for the great tool!
Original comment by nitroa...@gmail.com
on 2 Feb 2015 at 5:53
I have updated both places:
https://code.google.com/p/javamelody/wiki/UserGuide#Setup
https://github.com/javamelody/javamelody/releases
thank you
Original comment by evernat@free.fr
on 5 Feb 2015 at 1:10
Original issue reported on code.google.com by
nitroa...@gmail.com
on 30 Jan 2015 at 6:32