[jboss-user] [Management, JMX/JBoss] - Retrieve ObjectName of webapp without id

chicklin do-not-reply at jboss.com
Mon Feb 19 10:54:09 EST 2007


Hi,
  I'm trying to write a very simple web page to monitor the status of some other services and web apps.  I have no problem retrieving an ObjectName of the services using "domain.com:service=ServiceName", etc., but it appears that the only way to retrieve a reference to the web app is by knowing the id, i.e. "jboss.web.deployment:war=file.war,id=4328178775".  The problem is that this id changes depending on where I'm deployed.  Is there a way to retrieve this without the id, or is there a way to look up the id programatically?  I've tried "jboss.web.deployment:war=file.war,id=*" and "jboss.web.deployment:war=file.war,*", neither work.

Sorry if this is an easy one, I'm a little new to JMX.  Thanks in advance!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018888#4018888

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018888



More information about the jboss-user mailing list