You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Bourque, Guillaume" <bo...@logisoftech.com> on 2000/11/24 22:03:18 UTC
HELP on Tomcat 3.2 + mod_jk + Apache 1.3.14 + Mandrake 7.1
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 --------------------
Re: HELP on Tomcat 3.2 + mod_jk + Apache 1.3.14 + Mandrake 7.1
Posted by Dominique BATARD <db...@sf2r.fr>.
Salut
You have to compile mod_jk !
Dom
----- Original Message -----
From: "Bourque, Guillaume" <bo...@logisoftech.com>
To: <to...@jakarta.apache.org>
Sent: Friday, November 24, 2000 11:22 PM
Subject: Re: HELP on Tomcat 3.2 + mod_jk + Apache 1.3.14 + Mandrake 7.1
> 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 --------------------
>
>
Re: HELP on Tomcat 3.2 + mod_jk + Apache 1.3.14 + Mandrake 7.1
Posted by "Bourque, Guillaume" <bo...@logisoftech.com>.
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 --------------------