Which Tomcat Mbean can be used to access web app information?

You can use jConsole utility of Java to see the MBeans available in remote Tomcat server. It will connect to remote server with jmx port. All the MBeans available are listed in MBean tab.

This can help you finding the MBeans you wants and exact name of the MBean attribute.

You can use jConsole utility of Java to see the MBeans available in remote Tomcat server. It will connect to remote server with jmx port. All the MBeans available are listed in MBean tab.

This can help you finding the MBeans you wants and exact name of the MBean attribute. Thanks.

Now why didn't I think of that! - Thanks – ziggy Jan 5 at 10:40 I've gone through them but I cant find one that would tell me that the web app is active. I found the datasource one but not for the webapp.

– ziggy Jan 5 at 11:21 Look at the MBean Catalina:j2eeType=WebModule,name=myWebmodule,* and the attribute state – Roland Huß Mar 11 at 8:38.

You could use the check_jmx4perl configuration with pre-defined Tomcat checks as a starting point. It references the names of quite some MBeans which can be found on a standard Tomcat installation. I.e.

The following metrics are pre-defined: Nr. Of servlet requests for a certain servlet Processing CPU time for a webmodule Check whether a webmodule is active Active sessions Max. Number of active sessions Number of rejected sessions Average lifetime of a session Max. Lifetime of the longest session Data received rate for a connector Data sent rate for a connector Processing time for a connector Number of active datasource connections You can find this sample tomcat.

Cfg configuration here: https://github. Com/rhuss/jmx4perl/blob/master/config/tomcat.cfg.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions