> -----Original Message-----
> From: Winer, Matthew [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 11, 2001 9:54 AM
> To: 'Tomcat-User (E-mail)
> Subject: Tomcat and IIS revisited!
> 
> 
> Ok well I have made some progress this morning.  I now how 
> the green up
> arrow for the ISAPI filter.  I am so excited.  Now I just 
> have a couple more
> questions.  Does it matter what the home directory is for my 
> IIS web server?
> I did put in a virtual directory for jakarta.  Now when I go to
> 
> http://localhost/examples/jsp/index.html
> 
> it asks for the uname and passwd for that directory.  If I put in the
> correct information I get "Cannot Find Server."  Every time a 
> request is
> made for the site I get two entries in the ISAPI.log file.  
> An ISAPI_Close
> and an ISAPI_free.  There is a little more on each line but 
> that is about
> it.  I have seen nothing in my ISS logs referring to jakarta 
> or the GET
> "/jakarta/isapi_redirect.dll"
> 
> One of my other questions is...  Do I start the Tomcat Server 
> in conjunction
> with the IIS.  I have tried it both ways and still no 
> success.  I would
> assume that it has to be running being that is the whole Java 
> part of this
> whole thing.
> 
> Thank you for you help!!
> 
> -Matt Winer
> 

        First, Tomcat must be started before you begin requesting
JSP/servlets.  Otherwise, you will get a 500 (Internal Server) error.  It
doesn't matter, however if you stop and start Tomcat again without starting
IIS - the filter can deal with it.

        Second, it sounds like you have the ISAPI debugging set pretty high.
This is probably good for production but not debugging.  I would suggest
changing the debugging level to DEBUG in the registry and then restart IIS
(the process, not instance)

        Lastly, if you are getting the IIS username/password prompt then its
because you have restricted access to the virtual directory.  Check your
directory permissions in both the NT File Explorer and the IIS console - you
must have public (anonymous) execute permissions for things to work.

        Randy

Reply via email to