Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Connecting IIS 5.0 to Tomcat 4.1.24?

David Legg

2003-06-03

Replies:

I'm trying to set up the latest release of Tomcat (4.1.24) on a W2K server
running IIS 5.0. Tomcat is happily running as a service and responding to
web requests on port 8080. I'm using the tomcat-4.1.24-LE-jdk14.zip and
I've installed Java 1.4.1_02

Has anyone managed to get IIS to talk to this version of Tomcat?

Following hints in the Tomcat documentation I've tried installing JK2
version 2.0.2 but without success. For simplicity I've tried hooking up the
/examples context. http://localhost:8080/examples/jsp works fine but
http://localhost/examples/jsp gives me a 404 error.

The registry file contains: -

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\2.0]
"serverRoot"="c:\\tomcat4"
"extensionUri"="/jakarta/isapi_redirector2.dll"
"workersFile"="c:\\tomcat4\\conf\\workers2.properties"
"logLevel"="INFO"

The jk2.properties file contains: -

# The default port is 8009 but you can use another one
channelSocket.port=8009

The workers2.properties files contains: -

[channel.socket:localhost:8009]
info=Forwarding over socket connection to local tomcat instance.
host=localhost
port=8009

[ajp13:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol.
channel=channel.socket:localhost:8009

[uri:/examples/*]
info=JSP examples
context=/examples

I've configured several versions of Tomcat over the years and am getting
used to spending a couple of weeks tinkering with it each time :-) I'd love
to hear from anyone who has got it working.

Regards,

David Legg
Webmaster - 3Dlabs
http://www.3dlabs.com
mailto:david.legg@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.