Hello ... I'm writing again asking again for some help.
In the meanwhile I changed from mod_jk to mod_webapps but I still receive the same error message. The logs in /var/tomcat4/logs/. are looking pretty good. http://localhost:8080 is working great. Tomcat 4.0.3 is working great. Apache 1.3.20 is working great. But http://IP-address/servlet/SnoopServlet or http://www.domain.com/servlet/SnoopServlet not at all ! Status 404 = description The requested resource (/servlet/SnoopServlet) is not available. It is there ... definetely - uurgh Please don't let me down. I'll loose my job if I'm unable to fix that stupid problem. Thanks, Mark Wollner <--- Hi there ! The installation of Tomcat 4.0.3 either as RPM or tar.gz is a very easy job. But only for the serverhost. During the past three days I tried to implement two virtual hosts into Tomcat-Apache without any success. Error message : Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available. I'm using mod_jk and AJP 13 on Port 8009. The server.xml file got the following entries : --> <Host name="domain.com"> <Context path="" docBase="/var/www/host2/html" reloadable="true" debug="0"/> </Host> <Host name="100.100.100.100 <= the static IP-address of domain"> <Context path="" docBase="/var/www/host2/html" reloadable="true" debug="0"/> </Host> <Host name="domain2.com"> <Context path="" docBase="/var/www/host3/html" reloadable="true" debug="0"/> </Host> <Host name="200.200.200.200 <= the static IP-address of domain2"> <Context path="" docBase="/var/www/host3/html" reloadable="true" debug="0"/> </Host> mod_jk.conf : <IfModule mod_jk.c> JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile /var/log/httpd/mod_jk.log JkLogLevel error # Root context mounts for Tomcat # JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /examples/* ajp13 workers.properties : workers.tomcat_home=/var/tomcat4 workers.java_home=/usr/java/jdk1.3.1_02 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 httpd.conf : LoadModule jk_module modules/mod_jk.so AddModule mod_jk.c <IfModule mod_jk.c> Include /etc/httpd/conf/mod_jk.conf </IfModule> # Setup Tomcat <Location ~ ".*/WEB-INF/"> AllowOverride None deny from all </Location> I created in each virtual host directory WEB-INF WEB-INF/classes WEB-INF/lib and copied the web.xml to WEB-INF/web.xml The SnoopServlet.class is located here : /var/www/host2/html/WEB-INF/classes/SnoopServlet.class It's not running. I have no success :-( What's my fault ? I would say Tomcat cannot allocate the servlet instance for path /servlet/SnoopServlet Why ? Thank you, Mark Wollner -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>