my dog learned polymorphism*
The moose likes Other JSE/JEE APIs and the fly likes [JPDA] How to differentaite sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "[JPDA] How to differentaite sessions" Watch "[JPDA] How to differentaite sessions" New topic
Author

[JPDA] How to differentaite sessions

Phil Snob
Greenhorn

Joined: Jan 23, 2013
Posts: 1
Hi,

I am currently exploring a way to record the execution stack of a Java app on an application Server using only what i can 'listen' from the jvm.
Using JPDA, I am able to record what is being executed on my virtual machine, but I am not able to record only one session at a time. All of i can record is a traces mixing all sessions. As far as goes my understanding, the Jvm 'see' threads and the thread mapping to a particular session is only made by my application server.
Is there a way to identifiate whichs traces match a particular session at the JVM level? Or is the only solution to find a way to listen as weel what my app server does with threads and sessions.?
If anybody has an hint or ideas on this subject, i will really appreciate.

Thanks for all,

Phil.
 
 
subject: [JPDA] How to differentaite sessions