Hi,
I try
to configure Tomcat and Apache communication and I seems to have problems. If
you have this kind of experience please help me!
I used
Jserv and now I installed tomcat from rpm package and
apache.
Tomcat
works fine standalone on the port 8080. 3.2.2. SUN jdk1.3.1
Apache
1.3.14. on Linux Mandrake 7.2. Also works fine.
If I
telnet to the ports 8007. 8009 tomcat throws an exception, so this is
ok.
But
when I try to connect the same servlet with apache it just says in the apache
error log that the file is not existing.
#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
This
should mean that if it's servlet in the first in the URI it should call the
ajp13.
For
httpd -l I got
Compiled-in modules:
http_core.c
mod_so.c
suexec: enabled; valid wrapper /usr/sbin/suexec
http_core.c
mod_so.c
suexec: enabled; valid wrapper /usr/sbin/suexec
The
strange thing is that it seems to be that apache never calls the ajp13
connector.
If you
had similar problem please let me know.
I also
tried the jserv module but the same result. So what do I miss from the config?
It can't be so complicated that it takes 3 days to configure
it...
How or
where can I see what does apache?
here
is the jk_conf which is included in the httpd.conf:
###################################################################
# Auto generated configuration. Dated: Mon Jul 24 18:56:51 CEST 2000
###################################################################
# Auto generated configuration. Dated: Mon Jul 24 18:56:51 CEST 2000
###################################################################
JkWorkersFile
/etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogFile /var/log/httpd/mod_jk.log
#
# Log level to be used by mod_jk
#
JkLogLevel error
# Log level to be used by mod_jk
#
JkLogLevel error
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlet/* ajp13