I need some advice.  I need to maintain a set of long-running threads.  When a request comes in, I need to determine if I have a thread started for a particular id found in the request.  So I need to have a hashmap of threads keyed by the ids.  That part is simple enough.  But I'm struggling with where to keep that hashmap object so that it is available to all incoming requests (any session).  This object should persistently remain as long as Tomcat is active.  It must be scoped to the virtual host and only needs to be available in one webapp context within that host. Suggestions on how to proceed will be greatly appreciated.

Thx.

Jerry


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to