Re: ThreadCount values on jboss 6 differ between jboss-cli and jolokia
I dont know JBoss 6 good enough to tell how it calculates the thread count via its CLI. If it does it only via JMX then the number should be the same. But it could be also the JBoss filters out e.g. daemon threads.
What you see with Jolokia is the number which is exposed by the JVM via JMX. Jolokia itself doesn't has any influence on this number as it is agnostic to any JMX metrics and only helps in accessing it.