aspose file tools*
The moose likes JBoss/WildFly and the fly likes Custom Runtime JMX MBeans in JBoss? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Custom Runtime JMX MBeans in JBoss?" Watch "Custom Runtime JMX MBeans in JBoss?" New topic
Author

Custom Runtime JMX MBeans in JBoss?

William Stephens
Greenhorn

Joined: Dec 13, 2007
Posts: 16
All,

Back when I worked on WebLogic I created an MBean project that could be included with each service. This project was a runtime MBean that contained 12 counters, but could be extended. I then used the WebLogic Scripting Tool to read the counters and feed them into our enterprise metric system.

Does anyone have information about runtime MBeans on JBoss? It should be possible as jmx-console allows me to read the MBeans from our servers remotely and there are counters indicating the number of invocations for our services.

Ideally I need a solution that will work on JBoss and Tomcat but I'll do one at a time.

Thanks,
Bill S.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

What documentation have you looked at so far? I hate to post a link to something you have already seen.


JBoss In Action
William Stephens
Greenhorn

Joined: Dec 13, 2007
Posts: 16
To be specific:

I have to use JBoss 4.0.4.

I'm looking at the JBoss WIKI: http://www.jboss.org/community/docs/DOC-10543
Unfortunately, when I get deep enough I hit missing or empty pages: http://www.jboss.org/community/docs/DOC-12303

The JBoss 4.0.4 doc: http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch2.chapter.html
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

I think you are looking for a complete MBean example, how about this: http://www.jboss.org/community/docs/DOC-9712
William Stephens
Greenhorn

Joined: Dec 13, 2007
Posts: 16
Peter,

That's perfect! Thanks

Bill S.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom Runtime JMX MBeans in JBoss?