Ok, here is an exact description what doesn't work:
First I changed from the mod_jk2 to the mod_jk1, because when using JK2
and I test the http.conf syntax I get an error message, that
JkWorkersFile is perhaps mis-spelled or not defined by the module. When
using Jk1 the http.conf syntax is ok.
-------------------
Here's my http.conf
-------------------
## Attempting to integrate Tomcat
# load module
LoadModule jk_module modules/mod_jk1.dll
# JkWorkers-Datei
JkWorkersFile c:/Tomcat5/conf/workers.properties
JkLogFile c:/Tomcat5/mod_jk.log
JkLogLevel error
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
Alias /examples "c:/Tomcat5/webapps/jsp-examples"
<Directory "c:/Tomcat5/webapps/jsp-examples">
Options Indexes FollowSymLinks
</Directory>
JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13
--------------------------------------------
My workers.properties-file reads as follows:
--------------------------------------------
workers.tomcat_home=c:\Tomcat5
workers.java_home=c:\jdk
ps=\
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers = ajp13
--------------------------------------------
Ok, so when I type in
http://localhost/examples/ I come up with the
right directory (is that what you call a virtual directory?) - but of
course the *.jsp-files don't work. When I try one I get a
------------------
Tomcat-Error Page.
------------------
Http Status 404 - /examples/jsp2/el/basic-arithmetic.jsp
type: Status report
message /examples/jsp2/el/basic-arithmetic.jsp
description: The requested resource (/examples/jsp2....) is not available
So, I guess I have to change Tomcat's server.xml into something. Can
anyone tell me what it is and where exactly in that file I need to put
it to?
many thanks in advantage and sorry for that long message,
Stephan