aspose file tools*
The moose likes Java in General and the fly likes jmx mail alerts for runtime parameters in jvm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "jmx mail alerts for runtime parameters in jvm " Watch "jmx mail alerts for runtime parameters in jvm " New topic
Author

jmx mail alerts for runtime parameters in jvm

suresh reddya.c
Greenhorn

Joined: Apr 26, 2009
Posts: 1
hi

can any one help me on how to generate notification mails, if memory consumption and number of live threads exceeds some level in jvm by using jmx

any comment would very much helpful
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 19064
    
  40

suresh reddya.c wrote:
can any one help me on how to generate notification mails, if memory consumption and number of live threads exceeds some level in jvm by using jmx

any comment would very much helpful


JMX is more of a container, than a library -- meaning it is similar to the EJB or servlet container. What it is capable of doing depends on what services (mbeans) are loaded.

So, if you happen to have an mbean that instruments the data that you want -- and have an email mbean installed. I guess you can configure one to send notifications to the other (assuming they are compatible).

Henry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jmx mail alerts for runtime parameters in jvm