tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex L." <al...@firstnetsecurity.com>
Subject Problems getting Tomcat 5.0.18 to work with IIS 5
Date Thu, 12 Feb 2004 17:42:38 GMT
I'm having some issues gettin tomcat 5.0.18 to work with win2k IIS 5.  I've
followed the guides online and have everything apparently set up.  Tomcat
works, IIS works, but IIS refuses to load .jsp files as if it can't find
them.  Any help is greatly appreciated!

Here is my setup:
Tomcat installation Dir: C:\Program Files\Tomcat 5.0\

JK2.properties file
------------------------
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess


Workers2.properties file
---------------------------------
[shm:]
info=Shared memory file. Required for multiprocess servers
file="D:\Program Files\tomcat 5.0\work\jk2.shm"
size=1048576

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

[uri:/*.jsp]
info=All JSP
context=/

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples
---------------------

ISAPI File:
----------------
isapi_redirector2.dll in C:\Program Files\Tomcat 5.0\bin\win32\i386

IIS has isapi file loaded for default website and its a green arrow up with
High settings.

Registry file:
-------------------
Windows Registry Editor Version 5.00

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

http://localhost:8080/jsp-examples/   works and loads jsp files
http://localhost/jsp-examples/            doesn't work
http://localhost/jakarta/jsp-examples/ doesn't work.

----------------
Thanks,
Alex Letichevsky


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message