File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes How come so difficult finding examples/info on Tomcat and JMX? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How come so difficult finding examples/info on Tomcat and JMX?" Watch "How come so difficult finding examples/info on Tomcat and JMX?" New topic
Author

How come so difficult finding examples/info on Tomcat and JMX?

Brick Riccardi
Greenhorn

Joined: Jun 01, 2008
Posts: 22
Is it not common to use JMX and MBean to help manage aspects of a war(s) deployed to Tomcat? I have a case where I want to be able to change the logging level of a webapp and clear a cache at runtime. I figured JMX/MBeans would be perfect for this - yet finding information how to set this all up on Tomcat leaves a LOT to be desired.

The only link that is somewhat helpful is this one http://oss.wxnet.org/mbeans.html. I'd like to find a little more information and some other sites with some examples but there is seriously nothing out there.

The lack of info out there makes me wonder if I'm even taking the correct approach trying to use JMX to manage parts of my app at runtime? What do others do? Is it maybe better to just build some sort of admin tool within the application to help manage its internals?

Thanks for any advice.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How come so difficult finding examples/info on Tomcat and JMX?