tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Meaning of entries in mod_jk.log
Date Fri, 24 Oct 2003 03:46:44 GMT

"Volker" <tomcat@Trendsetter.de> wrote in message
news:3F93817C.E1F4ED3E@Trendsetter.de...
> Bill Barker schrieb:
>
> > "Volker" <tomcat@Trendsetter.de> wrote in message
> > news:3F91101A.E8DB6EFD@Trendsetter.de...
> > > Hi,
> > >
> > > can anyone please explain me the meaning of following entries in my
> > > mod_jk.log?
> > > "Attempting to map ..."
> > > Why does mod_jk try to map something here?
> >
> > It's checking to see if the URL matches any of your JkMount statements.
> > Nothing more, nothing less.  When it is "done without a match", it
allows
> > Apache to continue to handle the request (and presumably return a 404
page).
>
> Hello Bill,
>
> thanks for your answer. But why do you think a 404 error is returned? Like
> mentioned before those paths and files EXIST
> "/fh/DC/DCClasses/Resources/Forum/userIcons/bonus_calien1.gif".
>
> The only reason I run Apache & TomCat in conjunction with mod_jk ist that
I need
> tomcat for special servlets that should run via port 80.
> All the "usual" port 80 requests (i.e. html files) should result in
retrieving
> the right files because they are accessible for apache.
>
> Any idea?

At a guess, you haven't setup an Alias for your webapp in Apache.  You need
something like:
   Alias /fh /path/to/tomcat/webapps/fh

in your httpd.conf file.  This tells Apache where to look for the gif after
mod_jk declines it.  Alternatively, you could use:
  JkMount /fh/* ajp13

and have Tomcat serve the static content as well.

Enabling the auto-config in Tomcat is a good way to get a starting set of
things that you need to change.


>
> Best regards
>
> Volker
>
> > >> Are those outputs normal (For example
> > > /fh/DC/DCClasses/Resources/Forum/userIcons/bonus_calien1.gif does
exist
> > > on my web server!) ?
> > >
> > > [Sat Oct 18 08:19:58 2003]  [jk_uri_worker_map.c (477)]: Attempting to
> > > map URI '/fh/DC/DCClasses/Resources/Forum/userIcons/bonus_calien1.gif'
> > > [Sat Oct 18 08:19:58 2003]  [jk_uri_worker_map.c (599)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Sat Oct 18 08:19:58 2003]  [jk_uri_worker_map.c (460)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Sat Oct 18 08:19:58 2003]  [jk_uri_worker_map.c (477)]: Attempting to
> > > map URI '/fh/DC/DCClasses/Resources/Forum/userIcons/r_flirter1.gif'
> > > [Sat Oct 18 08:19:58 2003]  [jk_uri_worker_map.c (599)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Sat Oct 18 08:19:59 2003]  [jk_uri_worker_map.c (460)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Sat Oct 18 08:19:59 2003]  [jk_uri_worker_map.c (477)]: Attempting to
> > > map URI '/fh/DC/DCClasses/Resources/Forum/userIcons/r_luzy.gif'
> > > [Sat Oct 18 08:19:59 2003]  [jk_uri_worker_map.c (599)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Sat Oct 18 08:19:59 2003]  [jk_uri_worker_map.c (460)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Sat Oct 18 08:19:59 2003]  [jk_uri_worker_map.c (477)]: Attempting to
> > > map URI
> > > '/fh/DC/DCClasses/Resources/Forum/userIcons/bonus_flirtheart1.gif'
> > > [Sat Oct 18 08:19:59 2003]  [jk_uri_worker_map.c (599)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > >
> > > Thx and best regards
> > >
> > > Volker
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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


Mime
View raw message