You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Krause Karin <Ka...@winterthur.ch> on 2004/09/03 11:50:47 UTC

Sending every request in apache to the mod_jk module.

Hi all,
I read about that issues several times in this mailing list, but got no
clear answer to this.
I use  Apache/1.3.27 (Unix) mod_jk/1.2.4 and Tomcat 4.1.27

I got the following debug messages in the mod_jk log file:
[Fri Sep 03 10:14:32 2004 AM]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Sep 03 10:14:32 2004 AM]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/'
[Fri Sep 03 10:14:32 2004 AM]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Sep 03 10:14:32 2004 AM]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Sep 03 10:14:32 2004 AM]  [jk_uri_worker_map.c (477)]: Attempting to
map URI '/index.html'
[Fri Sep 03 10:14:32 2004 AM]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match

It seems that for every request sent to Apache, the mod_jk module is asked
if it could handle that request.
Is this the "usual" behaviour? Couldn't this have performance issues? Could
it be, that this is a configuration error?
Does anybody know, how Apache handles a request in combination with mod_jk?

Any help is appreciated.

Regards
Karin

Here is an extract from my configuration (httpd.conf):

##
## httpd.conf -- Apache HTTP server configuration file
##

...
LoadModule jk_module           libexec/mod_jk.so
AddModule mod_jk.c
###########################################################################
# mod_jk 
###########################################################################
JkWorkersFile               /usr/local/apache/conf/worker.properties
JkLogFile                   /var/apache/logs/mod_jk.log
JkLogLevel                  debug 
JkLogStampFormat            "[%a %b %d %H:%M:%S %Y %p] "
JkMount			    /tomcat_sample/*             tomcat_sample

# ServletExec Admin --------------------------------------------------------
<Location /servletexec>
    SetHandler servlet-exec
</Location>



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