tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jason watkins" <>
Subject request interrupt
Date Fri, 29 Sep 2000 18:25:11 GMT
Ok, we'll try again

the goal is to interrupt the handling of each http request, in order to
manage cookies, security, and write to a log. can this be done within


----- Original Message -----
From: "jason watkins" <>
To: <>
Sent: Thursday, September 28, 2000 5:53 PM
Subject: Global Site logging

> I'm currently using Tomcat3.1 on IIS5, out of process with redirector.
> However, I'd like any solution to be apache compat if possible, generic
> servlet container compatible way even better.
> What I want to do:
> For each http request under, insert the http headers into
> table, this later (periodically) will be loaded by my data warehouse
> which will update itself as nessisary then merge the log into it's own
> Now, the question is, how can I go about doing this? Performance isn't a
> huge worry.. the individual users latency should be low, but the number of
> cuncurrent users should be quite low.
> Traditional approaches to this involve parseing the httpd log files,
> I want to write a unique browser_id and session_id to each client when
> applicable.
> I could easily do this by writing a fetch servlet, and adjusting all my
> URL's to be http://host/fetch?/services/prices.html or similar, however
> like to avoid that. I'd accomplished the same using URL rewriting on
> and PHP, and it ended up being an incredible pain, since there was little
> way to restore the proper context to the dispached url.
> This also implies that I either want to spawn a thread, or more likely,
> dispach and include the output into my master servlet, so that the logging
> insert work trails after client's content has been delivered.
> Any thoughts?
> jason watkins

View raw message