Hi,
 
I need to add some monitoring into my j2ee application and I need to monitor 
the TCP/IP connections. I'm wondering if there is a way to extend Tomcat so 
that I can take a timestamp on an incoming connection (also when that 
connection closes) and call a custom java class that uses this information 
(e.g. to keep track of this information).
At this point we only know on the servlet when we have an incoming request (and 
when we send the response), but we can't have a hold on the socket itself to 
have details on the connection as this is under control of the servlet 
container. Depending on how the client is behaving we can have one connection 
per request/response or we could have one connection handling multiple 
request/responses sequentially... so we can never be sure of the underlying 
connection(s).
 
Note that we are using tomcat 4.1 embedded in jboss 3.0.6.
 
Thanks.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860797#3860797

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860797


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to