Hello.
I'm developing a web application for Websphere management with JMX. I'd like to know if there's any way to get all threads in a web container and print all available information about them, like if a thread is waiting, hung, etc., not only of the current JVM but from remote JVMs which I connnect to with a AdminClient instance throug a SOAP connector.
I know there are ThreadPool JMX beans and one of them has "WebContainer" as name, but I cannot find any way to get current threads in that web container.
Maybe the only way is to invoke a Thread dump and analyze the resulting file? This has some inconveniences I trying to avoid.
Thanks for your help.