tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Bateman" <jo...@cyberworldgroup.com>
Subject RE: [tomcat-user] Re: Request for clarification - I.E. Tomcat mod_jkinstalled in Apache
Date Fri, 03 Nov 2000 13:48:28 GMT
Hi

I seem to be having a problem with the documents. I've read the mod_jk HOW
TO, Tomcat UG and the workers.properties Document.

I seem to be under the understanding that I DO have Tomcat configured to
talk to apache, it just may not be doing it very well. :)

I've added the following lines in httpd.conf

# Tomcat module
LoadModule jk_module    modules/mod_jk.so

# Tomcat module
AddModule mod_jk.c

and finally

Include /usr/local/tomcat/conf/mod_jk.conf-aut

I've checked the configuraton file (mod_jk.conf-auto)

#
# The following line instructs Apache to load the jk module
#
LoadModule jk_module libexec/mod_jk.so

JkWorkersFile /usr/local/tomcat/conf/workers.properties
JkLogFile /var/log/httpd/apache-tomcat.log

#
# Log level to be used by mod_jk
#
JkLogLevel error

Plus, I've got the /Servlets context installed in the above file also.

#########################################################
# Auto configuration for the /Servlets context starts.
#########################################################

#
# The following line makes apache aware of the location of the /Servlets
context
#
Alias /Servlets "/home/john/public_html/Servlets"
<Directory "/home/john/public_html/Servlets">
    Options Indexes FollowSymLinks
</Directory>

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /Servlets/servlet/* ajp12
JkMount /Servlets/*.jsp ajp12

#
# The following line prohibits users from directly accessing WEB-INF
#
<Location "/Servlets/WEB-INF/">
    AllowOverride None
    deny from all
</Location>

#
# The following line prohibits users from directly accessing META-INF
#
<Location "/Servlets/META-INF/">
    AllowOverride None
    deny from all
</Location>

#######################################################
# Auto configuration for the /Servlets context ends.
#######################################################

Am I potentially missing something here?

Oh yeah, I restarted BOTH apache and tomcat after the install/configuration
with Tomcat starting up first as instructed. After all this I I get the
aforementioned problems.

I also have support/references in the server.xml file for both the Apache
apjv12 (on port 8007) and apjv13 (on port 8009) protocols.

I also was hoping that the 'talking' between Apache and Tomcat would be
seamless maybe this is just not possible with it's current implementation?

Thank you very much for your response.


> -----Original Message-----
> From: kenneth topp [mailto:caught@prodigy.net]
> Sent: Thursday, November 02, 2000 6:01 PM
> To: John Bateman
> Cc: Tomcat-User (E-mail)
> Subject: [tomcat-user] Re: Request for clarification - I.E. Tomcat
> mod_jkinstalled in Apache
>
>
>
> You haven't configured apache to talk to tomcat.
>


Mime
View raw message