A new ServerSide article, by Tony Thomas, takes a closer look at how JMX could be used for the management of Web applications. Using an example application with a set of JSP pages, it illustrates how JMX can manage application-specific data and provide good visibility into how the application is operating in production.
Read 'Using JMX to Manage Web Applications'
-
Using JMX to Manage your Web Applications (11 messages)
- Posted by: Nitin Bharti
- Posted on: March 10 2003 18:39 EST
Threaded Messages (11)
- Using JMX to Manage your Web Applications by asdasd asdad on March 11 2003 05:08 EST
- Code to get mbeanserver by Sateesh Narahari on March 12 2003 14:45 EST
- Code to get mbeanserver by Cameron Purdy on March 12 2003 17:03 EST
-
Code to get mbeanserver by Sateesh Narahari on March 12 2003 05:34 EST
- Code to get mbeanserver by Raju V on March 12 2003 07:04 EST
- Code to get mbeanserver by Ralf Neeb on March 17 2003 08:53 EST
-
Code to get mbeanserver by Sateesh Narahari on March 12 2003 05:34 EST
- Code to get mbeanserver by Roland Nygren on March 20 2003 04:44 EST
- Code to get mbeanserver by H Frost on March 21 2003 05:15 EST
- Code to get mbeanserver by Shyam Doddavula on March 26 2003 07:07 EST
- Code to get mbeanserver by Cameron Purdy on March 12 2003 17:03 EST
- Really good example by Dan Thompson on September 23 2003 09:30 EDT
- JSP tag for JMX by Weiqing Huang on February 21 2006 18:11 EST
-
Using JMX to Manage your Web Applications[ Go to top ]
- Posted by: asdasd asdad
- Posted on: March 11 2003 05:08 EST
- in response to Nitin Bharti
A new ServerSide article, by Tony Thomas, takes a closer look at how JMX could be used for the management of Web applications. Using an example application with a set of JSP pages, it illustrates how JMX can manage application-specific data and provide good visibility into how the application is operating in production.
>
> Read 'Using JMX to Manage Web Applications' -
Code to get mbeanserver[ Go to top ]
- Posted by: Sateesh Narahari
- Posted on: March 12 2003 14:45 EST
- in response to Nitin Bharti
I am bit disappointed that the code is WebLogic specific for accessing MBeanServer. Why not use JMX spec provided APIs ( you couldn't make them work?, just as I couldn't for websphere? ).
Also, has anyone actually tested interfacing with SNMP from JMX MBeans?. Does any of know of a SNMP connector implementation thats available today?. -
Code to get mbeanserver[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: March 12 2003 17:03 EST
- in response to Sateesh Narahari
AdventNet? -
Code to get mbeanserver[ Go to top ]
- Posted by: Sateesh Narahari
- Posted on: March 12 2003 17:34 EST
- in response to Cameron Purdy
should have said non-commerical SNMP adapter. I saw that AdventNet has one, and after looking further, their product looks very impressive. But, I am curious to know if anyone has had personal experience using JMX with SNMP successfully in a production scenario. -
Code to get mbeanserver[ Go to top ]
- Posted by: Raju V
- Posted on: March 12 2003 19:04 EST
- in response to Sateesh Narahari
I did work closely with many of our (AdventNet) customers who use SNMP with JMX in production environment. I can list a few scenarios.
- MBeans were created to read log files and SNMP Traps were sent (to HP OpenView and Tivoli) if the log file contains certain error messages.
- MBeans were created to monitor the processes running in Solaris Machine and SNMP Traps are sent if a particular process quits
- MBeans were created to monitor the content of Database Tables and this content is seen through SNMP in NSM Consoles
Raju Vegesna
raju@adventnet.com -
Code to get mbeanserver[ Go to top ]
- Posted by: Ralf Neeb
- Posted on: March 17 2003 08:53 EST
- in response to Sateesh Narahari
koshna.com has one, too. It's not free, but it works fine.
It's a nice api and costs a few bucks.
The implementation is also runnable in jboss3.0 without any
difficulties. -
Code to get mbeanserver[ Go to top ]
- Posted by: Roland Nygren
- Posted on: March 20 2003 04:44 EST
- in response to Sateesh Narahari
I am bit disappointed that the code is WebLogic specific for accessing MBeanServer. Why not use JMX spec provided APIs ( you couldn't make them work?, just as I couldn't for websphere? ).
Does anyone know how to get the MBeanServer in Tomcat?
How does "... JMX spec provided APIs" get MBeanServer? -
Code to get mbeanserver[ Go to top ]
- Posted by: H Frost
- Posted on: March 21 2003 17:15 EST
- in response to Roland Nygren
My client would not consider a solution using a vendor's proprietary API. What value is the JMX spec if it requires vendor extensions to build simple examples? -
Code to get mbeanserver[ Go to top ]
- Posted by: Shyam Doddavula
- Posted on: March 26 2003 07:07 EST
- in response to Roland Nygren
Here you go -
MBeanServer mbserver = null;
ArrayList mbservers = MBeanServerFactory.findMBeanServer(null);
System.out.println("Found "+mbservers.size()+" mbean servers");
if(mbservers.size()>0){
mbserver = (MBeanServer)mbservers.get(0);
}
if(mbserver!=null){
System.out.println("Found our MBean server");
}else{
mbserver = MBeanServerFactory.createMBeanServer();
}
-Shyam,
Founder,
Koshna.com -
Really good example[ Go to top ]
- Posted by: Dan Thompson
- Posted on: September 23 2003 09:30 EDT
- in response to Nitin Bharti
I've been struggling with what is meant by "management" of J2EE applications. The specs are fine, of course, but what I really needed was this example. Of course! It all becomes clear now!!! Thank you!
Now the thing that I still find confusing is that JBoss seems to implement all of J2EE as MBeans. It seems that they've taken it several steps beyond the original intent.
dt -
JSP tag for JMX[ Go to top ]
- Posted by: Weiqing Huang
- Posted on: February 21 2006 18:11 EST
- in response to Nitin Bharti
have you considered developing JSP tags for accessing JMX mbeans? i have done that before and it's really handy to use them in your jsp pages.