I have attempted to install Tomcat 3.2.1 with windows 2000 and IIS.
However, in doing so, I would get 404's from tomcat.  IIS would pass the
request off to the redirector, but then it would get a 404 back from tomcat.
After looking at the jk_isapi_plugin.c module and adding additional debug to
the call to tomcat, it was passing, /Jakarta/isapi_redirect.dll to tomcat as
the URL.  HttpFilterProc  got the correct uri out of the context, however,
the init_ws_service was setting the uri to the calling uri from the header
data which is always:  /Jakarta/isapi_redirect.dll.  After changing the code
to pass the correct uri in a temp variable and setting it to the original
uri, everything worked fine, until you deal with cookies.  There is another
piece of code in the init_ws_service method;

cnt -= 2; /* For our two special headers */

This code is removing the last 2 headers from being copied over to tomcat.
One of these last 2 headers is the cookies. After commenting out this code,
everything appears to work.  

Can someone please help shed some light on what is going on here?  Are
others able to get a Tomcat 3.2.1 and Win 2000/IIS integration to work
without modification to the 3.2.1 redirector?  Any information on what is
going on with this code would be appreciated, because it appears the code
there cannot work, so I know I am missing something.

Thanks,
Kevin Badinger



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

Reply via email to