drummerbasix
28.11.04, 13:31
Hi ich habe den Tomcat + Apche installiert, jetzt habe ich folgendes Problem, ich bekommen den Apache und den Tomcat nicht miteinander verbunden:
Hier ein Ausschnitt aus meiner httpd.conf
<IfModule mod_jk.c>
# The following line is for apacheconfig - DO NOT REMOVE!
JkWorkersFile <IfModule mod_jk.c>
# The following line is for apacheconfig - DO NOT REMOVE!
JkWorkersFile /etc/tomcat/jk/workers.properties
Include /var/lib/tomcat/conf/mod_jk.conf
</IfModule>
Dann den Inhalt in der oben angebenen /etc/tomcat/jk/workers.properties
also nur ein Ausschnitt
# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
workers.tomcat_home=/usr/local/tomcat
#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
workers.java_home=/usr/local/java
Und jetzt noch die var/lib/tomcat/conf/mod_jk.conf
JkLogFile /var/log/apache/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkMount /servlet/* local
JkMount /servlet/webdav.contacts* local
Was kann das sein?
Wenn ich dann per lynx http://localhost/servlet/ versuche auf den Apache zu zugreifen bekommen ich einen 500 internal server error aber im error.log taucht nichts auf?
Hier ein Ausschnitt aus meiner httpd.conf
<IfModule mod_jk.c>
# The following line is for apacheconfig - DO NOT REMOVE!
JkWorkersFile <IfModule mod_jk.c>
# The following line is for apacheconfig - DO NOT REMOVE!
JkWorkersFile /etc/tomcat/jk/workers.properties
Include /var/lib/tomcat/conf/mod_jk.conf
</IfModule>
Dann den Inhalt in der oben angebenen /etc/tomcat/jk/workers.properties
also nur ein Ausschnitt
# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
workers.tomcat_home=/usr/local/tomcat
#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
workers.java_home=/usr/local/java
Und jetzt noch die var/lib/tomcat/conf/mod_jk.conf
JkLogFile /var/log/apache/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkMount /servlet/* local
JkMount /servlet/webdav.contacts* local
Was kann das sein?
Wenn ich dann per lynx http://localhost/servlet/ versuche auf den Apache zu zugreifen bekommen ich einen 500 internal server error aber im error.log taucht nichts auf?