as far as i see, I'm not quite expert on mod_jk but I've been using it a lot. This logs shows that the mount occurs. What does apache access and error logs says (also the jk log in debug mode) when you try to reach your mounted apps?
On Jul 31, 2011, at 9:08 AM, Franz wrote: >> If you can submit this one, you can submit the mod_jk issue. Give it a try. >> Both works, mod_jk and this list. > >> Kindly and best regards > > Sorry for the two failure/spam messages. I had to write a perl script for the > preformattig and it's not beautiful... > > > ------Original Message------ > Hi - > > it's mod_jk time again! I had the module with a jboss/tomcat server > running for years on a debian sarge host with apache 2.0.54/mod_jk2 > and I'm wondering if the module is now called mod_jk again because > it no longer works with debian squeeze/apache 2.2.16. At least the > bug report below seems to indicate just that. > > http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=libapache2-mod-jk > ;dist=unstable > > Does it still work? Anyone? Any other apache/mod_jk(2) version I should > try? Seeing that the rather experimental module merely forwards a > couple of requests it has caused me an exceptional amount of headaches > over the years!!! > > The configuration files are all different again from last time: my > old file workers2.properties had mappings > [uri:/myapp/front/*] > and now it seems one has to declare workers in a file workers.properties > > worker.worker1.type=ajp13 > #worker.worker1.host=localhost > worker.worker1.host=127.0.0.1 > worker.worker1.port=8009 > and then put mappings somewhere in the apache config. > > JkMount /myapp/front/* worker1 > > This is what I'm getting this time: > > The poor thing starts off with logging entries, finds the mappings > , reports them 10 times or so and finally, when I try to access the > servlet, it fails. I tried to put the JkMounts inside and outside > virtual host settings, the only difference is that inside a virtual > host the error messages say "no match for myapp/front", outside a > virtual host it's "missing uri map for 127.0.0.1:/myapp/front". > > The tomcat engine is running and ports 8009 and 8080 are open. I can > connect through port 8080 but not 80. > > Any help much appreciated.... > > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] uri_worker_map_ > add > ::jk_uri_worker_map.c (720): wildchar rule '/myapp/front/*=worker1 > ' source 'JkMount' was added > [...] > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] uri_worker_map_ > dump > ::jk_uri_worker_map.c (186): NEXT (1) map #1: uri=/myapp/front/ > * worker=worker1 context=/myapp/front/* source=JkMount type=Wildchar > len=16 > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] init_jk > ::mod_jk.c (3128): Setting default connection pool max size to 1 > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_read_pro > perty > ::jk_map.c (491): Adding property 'worker.list' with value 'worker1 > ' to map. > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_read_pro > perty > ::jk_map.c (491): Adding property 'worker.worker1.type' with value > 'ajp13' to map. > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_read_pro > perty > ::jk_map.c (491): Adding property 'worker.worker1.host' with value > '127.0.0.1' to map. > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_read_pro > perty > ::jk_map.c (491): Adding property 'worker.worker1.port' with value > '8009' to map. > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_resolve_ > references > ::jk_map.c (774): Checking for references with prefix worker. with > wildcard (recursion 1) > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_shm_calculat > e_size > ::jk_shm.c (132): shared memory will contain 1 ajp workers of size > 320 and 0 lb workers of size 320 with 0 members of size 384+320 > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] do_shm_open > ::jk_shm.c (493): Truncated shared memory to 448 > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] do_shm_open > ::jk_shm.c (538): Initialized shared memory /var/log/apache2/jk-runtime > -status.28302 size=448 free=320 addr=0x7fc1546b4000 > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] do_shm_open_loc > k > ::jk_shm.c (412): Opened shared memory lock /var/log/apache2/jk-runtime > -status.28302.lock > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump > ::jk_map.c (589): Dump of map: 'ServerRoot' -> '/etc/apache2' > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump > ::jk_map.c (589): Dump of map: 'worker.list' -> 'worker1' > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump > ::jk_map.c (589): Dump of map: 'worker.worker1.type' -> 'ajp13' > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump > ::jk_map.c (589): Dump of map: 'worker.worker1.host' -> '127.0.0.1 > ' > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump > ::jk_map.c (589): Dump of map: 'worker.worker1.port' -> '8009' > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] build_worker_ma > p > ::jk_worker.c (242): creating worker worker1 > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] wc_create_worke > r > ::jk_worker.c (146): about to create instance worker1 of ajp13 > [Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] wc_create_worke > r > ::jk_worker.c (159): about to validate and init worker1 > [Sun Jul 31 03:36:06.419 2011] [28302:140468321695552] [debug] ajp_validate > ::jk_ajp_common.c (2605): worker worker1 contact is '127.0.0.1:8009 > ' > [...] > [Sun Jul 31 03:36:06.447 2011] [28315:140468321695552] [debug] jk_child_init > ::mod_jk.c (3073): Initialized mod_jk/1.2.30 > [Sun Jul 31 03:36:06.447 2011] [28312:140468321695552] [debug] do_shm_open > ::jk_shm.c (564): Resetting the shared memory for child 5 > [Sun Jul 31 03:36:06.447 2011] [28312:140468321695552] [debug] do_shm_open_loc > k > ::jk_shm.c (353): Duplicated shared memory lock /var/log/apache2/jk > -runtime-status.28303.lock > [Sun Jul 31 03:36:06.447 2011] [28312:140468321695552] [debug] jk_child_init > ::mod_jk.c (3073): Initialized mod_jk/1.2.30 > [Sun Jul 31 03:36:06.447 2011] [28311:140468321695552] [debug] do_shm_open > ::jk_shm.c (550): Attached shared memory /var/log/apache2/jk-runtime > -status.28303 [6] size=448 free=320 addr=0x7fc1546b4000 > [Sun Jul 31 03:36:06.447 2011] [28311:140468321695552] [debug] do_shm_open > ::jk_shm.c (564): Resetting the shared memory for child 6 > [Sun Jul 31 03:36:06.448 2011] [28311:140468321695552] [debug] do_shm_open_loc > k > ::jk_shm.c (353): Duplicated shared memory lock /var/log/apache2/jk > -runtime-status.28303.lock > [Sun Jul 31 03:36:06.448 2011] [28311:140468321695552] [debug] jk_child_init > ::mod_jk.c (3073): Initialized mod_jk/1.2.30 > > [...] > > Calling the servelet from a virtual host mapping: > > [Sun Jul 31 03:43:47.672 2011] [28313:140468321695552] [debug] find_match > ::jk_uri_worker_map.c (850): Attempting to map context URI '/myapp > /front/*=worker1' source 'JkMount' > [Sun Jul 31 03:43:47.592 2011] [28313:140468321695552] [debug] jk_map_to_stora > ge > ::mod_jk.c (3609): no match for /myapp/front found > [Sun Jul 31 03:43:47.592 2011] [28313:140468321695552] [debug] map_uri_to_work > er_ext > ::jk_uri_worker_map.c (1036): Attempting to map URI '/myapp/front > ' from 2 maps > [...] > > Calling the servlet outside a virtual host mapping: > [Sun Jul 31 03:43:52.969 2011] [28325:140468321695552] [debug] jk_child_init > ::mod_jk.c (3073): Initialized mod_jk/1.2.30 > [Sun Jul 31 03:47:36.272 2011] [28315:140468321695552] [debug] jk_translate > ::mod_jk.c (3425): missing uri map for 127.0.0.1:/myapp/front > [Sun Jul 31 03:47:36.272 2011] [28315:140468321695552] [debug] jk_map_to_stora > ge > ::mod_jk.c (3585): missing uri map for 127.0.0.1:/myapp/front > [Sun Jul 31 03:47:36.365 2011] [28315:140468321695552] [debug] jk_translate > ::mod_jk.c (3425): missing uri map for 127.0.0.1:/favicon.ico > [Sun Jul 31 03:47:36.365 2011] [28315:140468321695552] [debug] jk_map_to_stora > ge > ::mod_jk.c (3585): missing uri map for 127.0.0.1:/favicon.ico > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org