tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Remy.Coqueugn...@sanofipasteur.com>
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 1.2.19.0
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.





-------------------------------------isapi_redirect.properties
extension_uri=/jakarta/isapi_redirect.dll
log_file=c:\Intranet\IISLog\jk_std1.log
log_level=trace
worker_file=c:\Intranet\IIS_jk\std1\workers.properties
worker_mount_file=c:\Intranet\IIS_jk\std1\uriworkermap.properties


-------------------------------------workers.properties
worker.list=wlb_std
worker.ajp13_std1.type=ajp13
worker.ajp13_std1.host=localhost
worker.ajp13_std1.port=8209
worker.wlb_std.type=lb
worker.wlb_std.balance_workers=ajp13_std1
worker.jkstatus.type=status


-------------------------------------uriworkermap.properties
/jkmanager=jkstatus
# applications mappings
/application1/*=wlb_std
# static elements served by IIS
!/*.jpg=wlb_std
!/*.gif=wlb_std
!/*.png=wlb_std
!/*.txt=wlb_std
!/*.js=wlb_std
!/*.xml=wlb_std
!/*.xsl=wlb_std
!/*.xslt=wlb_std
!/*.htm=wlb_std
!/*.html=wlb_std
!/*.css=wlb_std
!/*.swf=wlb_std
-------------------------------------------------------------------------------------------
"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: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message