mod_jk problem
Hello All, I am using apache and tomcat with mod_jk. apache version : 2.2.19 tomcat version : 6.0 mod_jk version : 1.2.30 My web runs through servlet. http://domainname:8080/contact.shtml - is working http://domainname/contact.shtml - is not working mod_jk log : [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/contact.shtml' from 4 maps [trace] find_match::jk_uri_worker_map.c (839): enter [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlets/*=ajp13' source 'JkMount' [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlet/*=ajp13' source 'JkMount' [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.jsp=ajp13' source 'JkMount' [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*=ajp13' source 'JkMount' [debug] find_match::jk_uri_worker_map.c (863): Found a wildchar match '/*=ajp13' [trace] find_match::jk_uri_worker_map.c (866): exit [trace] map_uri_to_worker_ext::jk_uri_worker_map.c (1065): exit [trace] map_uri_to_worker_ext::jk_uri_worker_map.c (951): enter [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/404.shtml' from 4 maps [trace] find_match::jk_uri_worker_map.c (839): enter [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlets/*=ajp13' source 'JkMount' [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlet/*=ajp13' source 'JkMount' [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.jsp=ajp13' source 'JkMount' [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*=ajp13' source 'JkMount' [debug] find_match::jk_uri_worker_map.c (863): Found a wildchar match '/*=ajp13' [trace] find_match::jk_uri_worker_map.c (866): exit [trace] map_uri_to_worker_ext::jk_uri_worker_map.c (1065): exit Why jk connector not converting to servlet? any idea?
Re: mod_jk problem
My jk connector config is below. Below is jk.conf: JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel trace JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat %w %V %T = Below is jkmount.conf : = IfModule mod_jk.c JkMount /* ajp13 JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /servlets/* ajp13 /IfModule = I inserted below lines in httpd.conf LoadModule jk_module modules/mod_jk.so Include /usr/local/apache/conf/jk.conf Include /usr/local/apache/conf/jkmount.conf --- On Tue, 6/14/11, Calum cal...@gmail.com wrote: From: Calum cal...@gmail.com Subject: Re: mod_jk problem To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, June 14, 2011, 4:20 AM On 14 June 2011 12:07, Orgil Tulga orgio...@yahoo.com wrote: Hello All, I am using apache and tomcat with mod_jk. apache version : 2.2.19 tomcat version : 6.0 mod_jk version : 1.2.30 My web runs through servlet. http://domainname:8080/contact.shtml - is working http://domainname/contact.shtml - is not working Why jk connector not converting to servlet? any idea? I imagine people will ask to see your jk config. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: mod_jk problem
No. I am testing on local domain. --- On Tue, 6/14/11, Calum cal...@gmail.com wrote: From: Calum cal...@gmail.com Subject: Re: mod_jk problem To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, June 14, 2011, 4:35 AM On 14 June 2011 12:28, Orgil Tulga orgio...@yahoo.com wrote: My jk connector config is below. Below is jk.conf: JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties Can we see this? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org