There is a ThreadPool service you can use, it's started in conf/jboss-service.xml.
jboss.system:service=ThreadPool
To learn how to use it you have to dig into the code of other services that make use of it
(if I remember, org.jboss.naming.NamingService is one of them).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988371#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...