• Post Reply Bookmark Topic Watch Topic
  • New Topic

jmx  RSS feed

 
vinayaga moorthi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello friends,

i am using JMX concept for monitoring the local and remote service. but i am new to this concept. can any one help me to write code for the starting and stoping the remote and local service.

thanks
 
Henry Wong
author
Sheriff
Posts: 23280
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by vinayaga moorthi:
hello friends,

i am using JMX concept for monitoring the local and remote service. but i am new to this concept. can any one help me to write code for the starting and stoping the remote and local service.

thanks


There is no standard interface to start/stop a particular service. That is the domain of the mbean that you are using. You will have to examine the API of the mbeans that you have access to see what you have available.

For example, JBoss have a general start() and stop() method to most of the mbeans. And even then, I have never used it. Why would I want to start a Servlet or EJB using JMX? The official way works better. However, I will use a JMX mbean to monitor a servlet or EJB.

Henry
[ February 04, 2006: Message edited by: Henry Wong ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!