PDA

View Full Version : Enable tomcat 5.5 monitoring in CloudFoundry



akakunin
Aug 27th, 2009, 05:11 AM
Hi!
IN CloudFoundry deployment view, then I'm inspecting instance run Tomcat 5.5, I see section about application server "APP SERVER TIER"
Also - I can see - it is supposed to be able to monitor basic Server (threads) and JVM (memory) status - but, in my case it is empty

It looks like I need enable by some way JMX in tomcat to allow CloudFoundry console to monitor it - which options should I use?

ceracm
Aug 27th, 2009, 11:16 AM
Alexey,

Currently, you need to specify the following options:

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

In the near future we will configure JMX automatically.

Chris

spidie
Jan 14th, 2010, 04:39 AM
Is this still necessary? I don't see any history on my graph and was wondering if this was the reason.

ceracm
Jan 19th, 2010, 06:06 PM
Sorry for the delay in answering.

Those JMX options are no longer necessary.
Are you still having problems seeing the graph and/or other metrics?

Is the health of the application green?