Enable twiddle on jboss 7.1.1

4.1k views Asked by At

I am using windows 7 and i want to enable twiddle on jboss 7.1.1. Which are the steps to do that?

Thanks.

2

There are 2 answers

0
Sascha Möllering On BEST ANSWER

You have to navigate to the platform-mbean and read the memory-attributes:

/core-service=platform-mbean/type=memory:read-attribute(name=heap-memory-usage) 

You can find the full resource description by using that expression:

/core-service=platform-mbean/type=memory:read-resource-description
3
Toni On

Twiddle was a tool/script included in previous versions of JBoss, up to community version 6, to access to the JMX Services of JBoss (MBeans) through command line. Since JBoss 7 is not based any more on Managed Beans, it doesn't include this tool nor the JMX Console. That said, the management operations exposed through Managed Beans in JBoss 7 can be, of course, accessed with the JConsole tool, included with the JDK.

So don't expect there will be an official twiddle command for JBoss 7, though some independent developers have created their own versions.