It seems that IIS 5.0 is "greedy" with respect to available IP addresses.
Even if you specify that it should only listen on particular IP addresses,
if you specify a port with one IP address, it listens for requests on other
other IP addresses with the same port number.  This seems to prevent Tomcat
binding to the address (although, confusingly, Inktomi Search managed to
bind successfully to an address that IIS had claimed as its own...).

So it seems that I'm obliged to install Tomcat as an in-process ISAPI
extension for IIS (as I can't insist that our customer switch to Apache or
uses another port, due to their firewall and legacy webapps)...

Tom Drake had suggested a HOWTO link, but it relates to Tomcat 3.3.  How can
I use Tomcat 4.0.1 (and/or the upcoming 4.0.2) with IIS ?

Thanks,
Chris Brown



PS: if you're wondering how I came to this conclusion, I disabled Inktomi
and Tomcat, and started up IIS.  Then, using Telnet, I connected to port 80
on each bound IP address.  In *all* cases, I didn't "host not found": I got
a standard response from IIS:

-- 8>< ---- 8>< ---- 8>< ---- 8>< --

GET / HTTP/1.1

HTTP/1.1 404 Object Not Found
Server: Microsoft-IIS/5.0
Date: Fri, 11 Jan 2002 16:31:07 GMT
Connection: close
Content-Type: text/html
Content-Length: 111

<html><head><title>Site Not Found</title></head>
<body>No web site is configured at this address.</body></html>

Connection to host lost.

-- 8>< ---- 8>< ---- 8>< ---- 8>< --

This was from all addresses, even though IIS should not have bound to them.
If I then stopped IIS, and started up Tomcat, all went ok: Tomcat only bound
to the specified address.  However, restarting IIS didn't go so well: no
sites would bind anymore, complaining that the address was already in use,
which was not the case according to telnet, my browser, and my network admin
tools.  I also tried using host names instead of IP addresses, but this
didn't change anything.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to