Michael Dang wrote:

>I don't know specifically what you need to record on the server side that is hard to 
>do on the client side.  It depends on what you trying to achieve.
> 
>If you need to record in url level, then tools like OpenSTA is sufficient.  If you 
>need to record class loading or method calling level, then you probably need a Java 
>profiler.  If you need to intercept Servlet calls, you could plugin a Servlet filter. 
> And then it depends on what you need to do with the information.
> 
>--Michael
>
>________________________________
>
>From: xudong [mailto:[EMAIL PROTECTED]
>Sent: 2004-8-20 (星期五) 19:26
>To: Michael Dang; [EMAIL PROTECTED]
>Subject: Re: tomcat-dev Digest 20 Aug 2004 14:34:27 -0000 Issue 2211
>
>
>
>hi Michael
>
>Thanks for your suggestion. But after taking a look at opensta, I think it cannot 
>work as my wish.
>
>I hope I can record all traffic on server side, because it is not convinient to 
>deploy sush system on client side.
>
>Any other suggestion :=)
>
>best wishes,
>xudong
>
>---------------------------------------------------------------
>
>
>You don't have to go inside Tomcat to do such thing.  I think you can use some 
>external tools to do this.  For example, a free open source tool -- OpenSTA from 
>http://www.opensta.org
>You can record all traffic to the server, modify your script to do certain session, 
>and play back.
>
>--Michael
>
>-----Original Message-----
>From: xudong [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 18, 2004 8:00 PM
>To: [EMAIL PROTECTED]
>Subject: capture HTML pages under TOMCAT
>
>
>hi all,
>
>I want to do such a thing:
>Capture all HTTP request/response according to a specified session id
>under Tomcat. Then I could find the backgrounds of errors by *play*
>these pages.
>
>I think I have to understand the architecture of Tomcat first, then find
>the way to add some plugin(maybe change Tomcat's source codes directly).
>Am I right?
>
>But where I could find the related documents about the architecture of
>Tomcat?
>
>Any suggestion will be very important for me. Thanks.
>
>best wishes,
>xudong
>
>
>
>
>
>
>  
>
hi, Michael

Thanks a lot.

I am implementing such a system: if a user got an error or an unexpected
result from his browser, he could click a *error report* hyperlink to
report the error or bug. Then on server side, I could store some history
data about this user. It is very important for us to anaylize the reason
of the error. Of course, I need to record other related information
about this user.

So I hope
1. I could deploy the helper system on server side.
2. I could record HTML pages according to the session ID. (User name is
defined on other application domain, so it is not a good choice.)

I thought I should record these pages inside servlet container.
Obviously, such design is servlet-container-dependent. So I decide to
instrument some log codes into each servlet, which holdes all
information such as HttpRequest/HttpResponse/Session.

Am I right?

Your suggestion is great helpful. :=)

Best wishes,
xudong


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to