Were using SAM to monitor JBoss and we are able to pull a lot of the data we need but I am looking for the option to monitor/alert on blocked threads. I assume it may be a key under java.lang::Threading but so far no luck. Any ideas?
There should be exposed some threading related mbeans by JBoss - see 10.1. Memory and Thread Monitoring.
Regarding java.lang::Threading Oracle document syas:
The thread contention monitoring is disabled by default. The setThreadContentionMonitoringEnabled(boolean) method can be used to enable thread contention monitoring. (ThreadMXBean (Java Platform SE 7 )