tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject [Isapi filter] jsessionid filtering
Date Fri, 27 Oct 2006 07:48:22 GMT
Hi everyone,

My environment: win2003 / Tomcat 5.5.17 / IIS / isapi filter
I've 3 instances of Tomcat running simultanously
IIS is configured to serve those 3 "websites" with a different isapi filter configuration
for each one.
When a client opens a newly httpSession jsessionid is inserted in the first URI . Next navigations
doesn't include this.
The problem is about what isapi really filters.
See how the Uriworkmap is configured at the end of this mail.
For example in the first session openning, every css file acces fall in 404 beacause of the
jssesionid presence in the URI, and are correctly mapped in next operations.

Indeed looking in the trace shows that isapi filter try to remove this jsessionid from the
URI, but apparently not use the newly jsessionid-less URI :

[Wed Oct 25 11:30:24 2006] [5564:0488] [debug] jk_isapi_plugin.c (762): Filter started
[Wed Oct 25 11:30:24 2006] [5564:0488] [debug] jk_isapi_plugin.c (828): Virtual Host redirection
of /server1:83/application1/styles/appli.css;jsessionid=D31FF5301A1974701F9FE1837A18427B
[Wed Oct 25 11:30:24 2006] [5564:0488] [trace] jk_uri_worker_map.c (422): enter
[Wed Oct 25 11:30:24 2006] [5564:5240] [debug] jk_isapi_plugin.c (762): Filter started
[Wed Oct 25 11:30:24 2006] [5564:0488] [debug] jk_uri_worker_map.c (443): Removing Session
path ';jsessionid=D31FF5301A1974701F9FE1837A18427B' URI '/server1:83/application1/styles/appli.css'
[Wed Oct 25 11:30:24 2006] [5564:0488] [debug] jk_uri_worker_map.c (449): Attempting to map
URI '/server1:83/application1/styles/appli.css;jsessionid=D31FF5301A1974701F9FE1837A18427B'
from 14 maps

How can I make sure isapi filter really do its jsessionid-filtering job ? Or how can say to
tomcat not include this jsessionid parameter, even in the first session access ?

Thanks for your answers !

Rémy C.
# applications mappings
# static elements served by IIS
"Cette communication (y compris les pieces jointes) est reservee a l'usage exclusif du destinataire
(des destinataires) et peut contenir des informations privilegiees, confidentielles, exemptees
de divulgation selon la loi ou protegees par les droits d'auteur. Si vous n'etes pas un destinataire,
toute utilisation, divulgation, distribution, reproduction, examen ou copie (totale ou partielle)
est non-autorisee et peut etre illegale. Tout message electronique est susceptible d'alteration
et son integrite ne peut etre assuree. Sanofi Pasteur decline toute responsabilite au titre
de ce message s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message,
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de distribution et
de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of the addressee(s)
and may contain confidential information including trade secrets which are privileged, confidential,
exempt from disclosure under applicable law and/or subject to copyright. If you are not an
intended recipient, any use, disclosure, distribution, reproduction, review or copying (either
whole or partial) is unauthorized and may be unlawful. E-mails are susceptible to alteration
and their integrity cannot be guaranteed.Sanofi Pasteur shall not be liable for this e-mail
if modified or falsified. If you are not the intended recipient of this e-mail, please delete
it immediately from your system and notify the sender of the wrong delivery and the mail deletion.
Thank you."

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message