is it possible to get the http request information from a thread (not the current thread)?
I want to be able to enumerate all the live threads and get the request uri for each of them.
any ideas?
thanks
is it possible to get the http request information from a thread (not the current thread)?
I want to be able to enumerate all the live threads and get the request uri for each of them.
any ideas?
thanks
Try this:
When you view the attributes of the MBean, you will see the URI (or NO REQUEST) for each thread that is still active in the JVM that has processed at least one request. When a thread terminates (and perhaps after a few GC cycles), the WeakHashMap entry will be removed.
It looks a bit arduous now that I read it, but it should be pretty straightforward.
//Nicholas