Hi,
I can't get Apache 1.3.37 to work with Tomcat 6.0.20, on Debian, Linux
kernel 2.6.19.
I successfully tested Tomcat 6 with Apache 2.2, jk connector 1.2.28 on
Windows XP, Ubuntu 8.04.
But on Debian, with Apache 1.3.37 it doesn't work.
Tomcat is working : http://mydomain.com:8080 works fine, I tested the
examples and the manager. So There is no problem with java (JDK 6u14).
But when I try to see a java page without :8080, I just get an http 404.
It looks like if the jk connector was not loaded. The redirects are not
done. And the log file (JkLogFile) is not created.
Here is my config :
httpd-tomcat.conf (included by httpd.conf)
<IfModule jk_module>
LoadModule jk_module /usr/local/apache/modules/mod_jk.so
AddModule mod_jk.c
JkWorkersFile /usr/local/apache-tomcat-6.0.20/conf/workers.properties
JkMountFile /usr/local/apache-tomcat-6.0.20/conf/uriworkermap.properties
JkLogFile /usr/local/apache-tomcat-6.0.20/logs/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
</IfModule>
** without <IfModule> or AddModule Apache doesn't start.
In the virtual host config file I had :
<IfModule jk_module>
JkMountCopy On
</IfModule>
But since it did not work I copy/pasted the global configuration into the
vhost config file (except LoadModule), and used JkMount instead of
JkMountFile.
My virtualhost.conf (included by httpd.conf) :
<Virtualhost *>
ServerName www.mydomain.com
DocumentRoot /home/sites/mysite
<IfModule jk_module>
JkWorkersFile /usr/local/apache-tomcat-6.0.20/conf/workers.properties
JkLogFile /usr/local/apache-tomcat-6.0.20/logs/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /manager/* ajp13
JkMount /examples/* ajp13
JkMount /jsp-examples/* ajp13
JkMount /servlets-examples/* ajp13
...
</IfModule>
...
</virtualhost>
The workers.properties file is the same as the one which works on windows
and ubuntu.
I tried different connectors :
mod_jk-1.2.28-httpd-1.3.X-eapi.so
mod_jk-1.2.25-httpd-1.3.37-eapi.so
mod_jk-1.2.24-httpd-1.3.37-eapi.so
I must have made a mistake, but I don't see where ...
--
View this message in context:
http://www.nabble.com/Tomcat-6-not-working-with-Apache-1.3.37-on-Debian-tp24125078p24125078.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]