It all depends on the relevant Alias and JkMount directives in your Apache 
configuration.
You'll need to post them in order for us to make any useful analysis. Here's an 
example of
my config
where Apache serves the static content. The servlet context is "/online".

# tell Apache where my app files are
Alias /online /www/tomcat/webapps/online

JkMount /online/*.jsp ajp13 # Tomcat handles all JSP's
# mount only URL's SPECIFICALLY mapped to servlet, all
# others (like /online/images) are handled by Apache directly
JkMount /online/login ajp13
JkMount /online/order ajp13

Also, look at the Tomcat access log (if you have one configured). Compare it to the 
access
log
for Apache. If you have things set up right, you will see the static content requests 
in
the
Apache log, but not the Tomcat access log.

Jeff


----- Original Message -----
From: "Cindy Ballreich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 11:04 AM
Subject: REPOST: mod_jk.log question


>
> I'm using mod_jk with Tomcat 4.0.1 and Apache 1.3.19 on a Redhat 7.0 system.
>
> Looking at my mod_jk.log file, it appears that mod_jk is trying to map every request
that comes to my server, regardless of whether it should be handled by Tomcat or 
Apache.
This seems very inefficient to me and I'm wondering if I have a configuration problem
somewhere. Otherwise everything seems to be working correctly and all pages (jsp and
otherwise) are being served correctly. Perhaps this is normal and I just need to 
change my
log level and ignore it. (log level is currently "warn".) I'd appreciate some input.
>
> mod_jk.log entry of a request that should be (and is) handled by Apache...
> [Wed Mar 20 10:07:35 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
> [Wed Mar 20 10:07:35 2002]  [jk_uri_worker_map.c (368)]: Attempting to map URI
'/images/logo_level2.gif'
> [Wed Mar 20 10:07:35 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
>
> Thanks!
>
> Cindy
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to