Hi,
I'm trying to integrate Tomcat with Apache. I believe that I configured them
correctly, but when I try the Tomcat examples URL,
http://localhost/examples/jsp ,it doesn't work and I find the following in
the Apache error.log: [error] [client 127.0.0.1] File does not exist:
C:/Apache_Group/Apache2/htdocs/examples
It doesn't look like the examples url is being redirected to Tomcat. I'm
hoping that someone can point out my problem...See Apache Tomcat config info
below:
1.) I downloaded the mod_jk-2.0.43.dll and placed it in the
C:\Apache_Group\Apache2\modules directory
2.) Created workers.properties in the C:\tomcat\conf\jk directory.
# (optional) make this equal to CATALINA_HOME
workers.CATALINA_HOME="C:\tomcat"
# (optional) make this equal to JAVA_HOME
workers.java_home="C:\j2sdk1.4.0_01"
# Windows uses back slashes
ps=\
worker.list=ajp13
# Definition for Ajp13 worker
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
3.) I added the following to tomcat's server.xml:
3a.)After the <Server port="8005" ...> declaration:
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
modJk="C:\Apache_Group\Apache2\modules\mod_jk-2.0.43.dll"
jkDebug="info"
workersConfig="C:\tomcat\conf\jk\workers.properties"
jkLog="C:\tomcat\logs\mod_jk.log"/>
3b.)Added the following lines after the
<Service name="Tomcat-Standalone"> declaration:
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
3c.)Added a listener after any <Host name="localhost">
declarations:
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">
4.) Added to the end of the apache httpd.conf file:
Include "C:/tomcat/conf/auto/mod_jk.conf"
5.) The contents of C:\tomcat\conf\auto\mod_jk.conf shows:
<IfModule !mod_jk.c>
LoadModule jk_module C:/Apache_Group/Apache2/modules/mod_jk-2.0.43.dll
</IfModule>
JkWorkersFile "C:/tomcat/conf/jk/workers.properties"
JkLogFile "C:/tomcat/logs/mod_jk.log"
JkLogLevel info
Any help would be much appreciated!
Thanks,
- R
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: Apache can't find Tomcat examples R. C. Hill
- Re: Apache can't find Tomcat examples Kaustuv Sharma
- RE: Apache can't find Tomcat examples Turner, John
