-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Leon,

On 4/29/13 9:05 AM, Leon Rosenberg wrote:
> Hello Andre,
> 
> 
> On Mon, Apr 29, 2013 at 10:13 AM, André Warnier <a...@ice-sa.com>
> wrote:
> 
>> 
>> Leon, I apologise for insisting, but your initial post said : 
>> "Background, I want to count sessions by top level domains..."
>> 
>> 
>> 
> Yes, but @Runtime. Means that I want to know how many sessions from
> each tld are active _now_. Parsing http log continuously and
> instantly would be an overkill in my opinion. And I don't see a way
> to see a session expiry in access log ;-)

So your initial implementation was a Filter that marked each
HttpSession with the origin IP address (so you could get the TLD of
the user) and then a Listener to keep track of the sessions? What's
wrong with that?

> Output for
> http://localhost:8080/moskitodemo/mui/mskShowAllProducers: Request
> 1 created /moskitodemo/mui/mskShowAllProducers Session created
> 4B842C774B30EE7886CC7243758C7D38 Request 2 created
> /moskitodemo/mui/mskCSS Session? true Session
> 4B842C774B30EE7886CC7243758C7D38 new? true Request 3 created
> /moskitodemo/img/moskito_webui_logo.gif Session? true Session
> 4B842C774B30EE7886CC7243758C7D38 new? true Request 4 created
> /moskitodemo/js/wz_tooltip.js Session? true Session
> 4B842C774B30EE7886CC7243758C7D38 new? true Request 5 created
> /moskitodemo/js/jquery-1.4.min.js Session? true Session
> 4B842C774B30EE7886CC7243758C7D38 new? true Request 6 created
> /moskitodemo/js/function.js Session? true Session
> 4B842C774B30EE7886CC7243758C7D38 new? true Request 6 destroyed
> /moskitodemo/js/function.js Request 5 destroyed
> /moskitodemo/js/jquery-1.4.min.js Request 4 destroyed
> /moskitodemo/js/wz_tooltip.js Request 3 destroyed
> /moskitodemo/img/moskito_webui_logo.gif

That does appear a little odd to me. Can you show an HTTP protocol
trace of that interaction? I'd be interested to see what request was
what and exactly what it held (and whether they were keepalives, etc.).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRfnpjAAoJEBzwKT+lPKRYp1AP/15ijJOAxMkT8ZvVLm3r8jb8
w30OVaIOerFINsE3DL74mngd8pcNR/d2SQoYkMLM3oT42Z/p/Qufy9sLfuti9vkR
RAYq9Q0PUmUGTGilWL3eraEqPfXUo1ZVQrC3W9MyvzGraq1sIaJqqWb8fm/N3z9d
n0LHenBcjmt8OfySFWSQ8uTfSjdE+KhO0Nqca0sMIUQsGjbrklVwgkyJ8F+auLaY
CwS4gSR7I6i785ITNu2XHnGeQLQRonYPTQHiXueEniBKbvCQp4In4antwpPVihrO
2oTUHP2eORe+WvRrUzHDkuZRFhXIHKI5NWuN7HtLsy0xLDgZVJRBys78GI0ulCrG
M1KYEpkQFXgHFCZdV3foRkW9XNcCBKdX4ExjZcjoE1pLL2yk5sAePrWeYNS9Bfv0
JKLwdI8J+ofnmJc2ZJazYmA+Ig7PAG74sa02j3izEuRV8B4saUc7mJvUkXusc/qC
+qxwQY779ucf77LCY5OIvN/KZU1NOsrDrIrUYyFgjK5m8r7PIvRg8l77z1Bh74na
n70/3dTNWmYC1w5WW1WLEUyXJXcrPeQsijWbfnoY8sBvVvLbxOvb/w5dU7WiwxdD
3wxOYNc4TQoaAVsoMS9xs1V1+llxVZXDW/cJeBlgotCNoZNYk8MAZhsuHw1PkyqF
FgADHu45Qxy/bKZbEN7S
=HgoD
-----END PGP SIGNATURE-----

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

Reply via email to