I forgot to included the ouput of  /var/log/httpd/mod_jk.log

[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done 
without a match

What's missing to my tomcat conf ?


Vous auriez écrit ... :

>Hello all !
>
>Sorry to ask this one but I tried a lot of thing before asking ?
>
>I have a standards Mandrake/Linux machine 7.1 with the following packages
>installed
>
>[root@localhost conf]# rpm -qa | egrep "apache|tomcat|IBMB"
>apache-suexec-1.3.12-24mdk
>apache-1.3.12-24mdk
>apache-common-1.3.12-24mdk
>apache-manual-1.3.12-24mdk
>apache-devel-1.3.12-12mdk
>IBMJava2-SDK-1.3-2.0
>tomcat-3.2-beta5.1
>tomcat-mod-3.2-beta5.1
>tomcat-doc-3.2-beta5.1
>
>
>After installing these package I can talk to tomcat via
>http://localhost:8080
>
>But like every body I want to use 80 and the JKMount for my jsp files 
>
>And here is my /etc/http/conf/mod_jk.conf file
>
>        <VirtualHost 131.195.53.122:80>
>          DocumentRoot /web/host1
>          ServerName darwin.hydro.qc.ca
>          JkMount /*.jsp ajp12
>          JkMount /servlet/* ajp12
>        </VirtualHost>
>
>
>Also I included the ouput of the strace command run on my apache process 
>
>strace -f -p 18460
>
>
>brk(0x8151000)                          = 0x8151000
>brk(0x8154000)                          = 0x8154000
>brk(0x8157000)                          = 0x8157000
>read(11, "GET /carts.jsp HTTP/1.0\r\nIf-Modi"..., 4096) = 415
>write(10, "[jk_uri_worker_map.c (344)]: Int"..., 73) = 73
>fdatasync(0xa)                          = 0
>write(10, "[jk_uri_worker_map.c (406)]: jk_"..., 89) = 89
>fdatasync(0xa)                          = 0
>stat("/web/host1/carts.jsp", {st_mode=S_IFREG|0644, st_size=522, ...}) = 0
>open("/.htaccess", O_RDONLY)            = -1 ENOENT (No such file or
>directory)
>open("/web/.htaccess", O_RDONLY)        = -1 ENOENT (No such file or
>directory)
>open("/web/host1/.htaccess", O_RDONLY)  = -1 ENOENT (No such file or
>directory)
>open("/web/host1/carts.jsp", O_RDONLY)  = 12
>select(12, [11], NULL, NULL, {0, 0})    = 0 (Timeout)
>write(11, "HTTP/1.1 304 Not Modified\r\nDate:"..., 283) = 283
>close(12)                               = 0
>read(11, 0x8152b20, 4096)               = ? ERESTARTSYS (To be restarted)
>--- SIGALRM (Minuterie d'alerte) ---
>close(11)                               = 0
>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
>rt_sigaction(SIGURG, {0x805be14, [], SA_INTERRUPT|0x4000000}, {0x805be14,
>[], SA_INTERRUPT|0x4000000}, 8) = 0
>
>
>What am I missing ? 
>
>Why apache do not pass the request to tomcat or why tomcat doesnot reply
>to apache ?
>
>Right now I see only the ascii source file of my jsp file !
>
>TIA,
>
>Guillaume
>
>
>

-- 
--------------------- La qualité avant tout ! ----------------------
Guillaume Bourque                            Architecte informatique
                     LogiSoft Technologies inc.
Tél. (514) 580-0050                              Fax: (450) 649-6134
-------------------- http://www.logisoftech.com --------------------

Reply via email to