Hello, Thank you! I did compile the module myself, wanting to be sure it was properly compatible with my target environments.
I'll mod the code and see what new information is logged.
Thanks.
mp
On Thu, Jul 15, 2010 at 01:54:48PM +0200, Rainer Jung wrote:
> On 13.07.2010 23:17, Michael Powe wrote:
> >Hello,
> >
> >I asked this question in the httpd list but no joy.
> >
> >I have set up tomcat 6 and IBM httpd server to proxy requests using
> >mod_jk.
> >
> >IBM_HTTP_Server/6.0.2 Apache/2.0.47 (Unix) mod_jk/1.2.30 Server at
> >localhost Port 80
> >
> >I have followed all instructions as nearly as I can make
> >out.
> >
> >The mod_jk log shows:
> >
> >[Tue Jul 13 16:41:02 2010] [7639:50215792] [trace]
> >map_uri_to_worker_ext::jk_uri_worker_map.c (951): enter
> >[Tue Jul 13 16:41:02 2010] [7639:50215792] [debug]
> >map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map
> >URI '/TlTaggerTest/target.jsp' from 9 maps
> >[Tue Jul 13 16:41:02 2010] [7639:50215792] [trace]
> >find_match::jk_uri_worker_map.c (839): enter
> >[Tue Jul 13 16:41:02 2010] [7639:50215792] [debug]
> >find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> >'/TlTaggerTest/*.jsp=worker1' source 'JkMount'
> >[Tue Jul 13 16:41:02 2010] [7639:50215792] [debug]
> >find_match::jk_uri_worker_map.c (863): Found a wildchar match
> >'/TlTaggerTest/*.jsp=worker1'
> >[Tue Jul 13 16:41:02 2010] [7639:50215792] [trace]
> >find_match::jk_uri_worker_map.c (866): exit
> >[Tue Jul 13 16:41:02 2010] [7639:50215792] [trace]
> >map_uri_to_worker_ext::jk_uri_worker_map.c (1065): exit
>
> The next lines should have been:
>
> ... [7639:50215792] [trace] jk_handler::mod_jk.c (2383): enter
> ... [7639:50215792] [debug] jk_handler::mod_jk.c (2462): Into handler
> jakarta-servlet worker=worker1 r->proxyreq=0
> It seems there is some other module, that handles the request instead of
> mod_jk or the handler is not set correctly. If you compiled to module
> yourself, you can easily find out by applying a little change:
>
> 2366 static int jk_handler(request_rec * r)
> 2367 {
> 2368 const char *worker_name;
> 2369 jk_server_conf_t *xconf;
> 2370 int rc, dmt = 1;
> 2371
> 2372 /* We do DIR_MAGIC_TYPE here to make sure TC gets all requests,
> even
> 2373 * if they are directory requests, in case there are no static
> files
> 2374 * visible to Apache and/or DirectoryIndex was not used. This
> is only
> 2375 * used when JkOptions has ForwardDirectories set. */
> 2376 /* Not for me, try next handler */
> 2377 if (strcmp(r->handler, JK_HANDLER)
> 2378 && (dmt = strcmp(r->handler, DIR_MAGIC_TYPE)))
> 2379 return DECLINED;
> 2380
>
> Before line 2372 add the following lines:
>
> if (JK_IS_DEBUG_LEVEL(xconf->log)) {
> jk_log(xconf->log, JK_LOG_DEBUG,
> "Starting jk handler, Apache thinks it should use '%s'",
> r->handler ? r->handler : "NULL");
> }
>
> Regards,
>
> Rainer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
--
Michael Powe [email protected] Naugatuck CT USA
"In every country and in every age, the priest has been hostile to
liberty. He is always in alliance with the despot, abetting his
abuses in return for protection to his own." -- Thomas Jefferson to
Horatio G. Spafford, 1814. ME 14:119
pgpbbwaSM5eFq.pgp
Description: PGP signature
