开发者

Programatically get statistics for deployments on a domain

开发者 https://www.devze.com 2023-02-03 17:39 出处:网络
Is there any way to get information specifically about deployments on a glassfish domain? Ideally, heap usage, thread counts, etc. I think this is possible with jconsole and some other visual tools vi

Is there any way to get information specifically about deployments on a glassfish domain? Ideally, heap usage, thread counts, etc. I think this is possible with jconsole and some other visual tools via jmx, but I've never had to attempt such a feat.

A开发者_Go百科ny help would be appreciated.

Thanks in advance.


You can programatically get the server information using JMX. Follow the link below. http://kalali.me/manage-administrate-and-monitor-glassfish-v3-from-java-code-using-amx-jmx/


I have never had to use this. But there exists a project in Glassfish that provides Java interface to management tools. There is a good article on this here http://kalali.me/manage-administrate-and-monitor-glassfish-v3-from-java-code-using-amx-jmx/

For GlassfishV3 -- the docs are here. http://glassfish.java.net/nonav/v3/admin/planning/V3Changes/V3_AMX_SPI.html

There is some doc available for V2 as well.. I donot find right now.

0

精彩评论

暂无评论...
验证码 换一张
取 消