This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Tomcat and the fly likes JMX status Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JMX status" Watch "JMX status" New topic
Author

JMX status

Eran Kaplan
Greenhorn

Joined: Aug 27, 2009
Posts: 8
Hi,


I've been wondering what the status of JMX is. Is it alive?

It seems that using JMX as a server is popular (The JVM, JBoss, Hibernate etc.).

However, I'm trying to find a JMX web client for Tomcat which is still live and kicking but it seems that there is no really good one for free.
Can anyone recommend one?

Thanks.



Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
JMX is not a server, it is an API that allows you to monitor (and possible alter) the inner workings of a JVM. That's particularly interesting for servers, because those are long-running and may need to be tweaked without bringing them down. It is very much alive, tools like VisualVM rely on it heavily. It's even part of JSE as the javax.management package.

Not sure what you mean by the comment about Tomcat; what are you looking for that VisualVM doesn't offer?

If it's just Tomcat you want to monitor, also check out http://code.google.com/p/psi-probe/
Eran Kaplan
Greenhorn

Joined: Aug 27, 2009
Posts: 8
Hi,

I'll try to be more accurate.

I'm not interested only in monitoring the JVM. I have my own MBeans which are exposed and I want to access them easily.
Specifically, I'm looking for a WAR file that I can deploy in Tomcat and will simply give me access to my MBeans through a browser (I know that JBoss has that capability).


Thanks.

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19723
    
  20

LambdaProbe can you show you a lot of system information. I don't know if they support custom MBeans though, you'd have to check that out.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
PSI-Probe (which I linked to) is actually the current version of LambdaProbe (which is defunct)
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Actually, PSI-Probe does not seem to support JMX console functionality yet, but that is scheduled to be part of a release planned for Q2 2012: http://code.google.com/p/psi-probe/issues/list?can=2&q=Milestone:2.4.0+-Status:FixedInSource
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19723
    
  20

Eran, apparently you feel that this thread belongs in the Tomcat forum, so I'll move it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMX status