Line 2 looks ok to me. If you could send in the virtual host section of the httpd.conf, the Host/Context part of your server.xml, and the appropriate part of your web.xml then maybe someone could figure out the problem.
RS Hostmaster of the day <[EMAIL PROTECTED]> on 03/12/2002 01:36:22 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: pache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available. You are welcome ! Yes I have : WebAppConnection conn warp localhost:8008 WebAppDeploy /var/www/host2/html/ conn / Could line 2 be the error ? --Mark > > OK let's try once again :-) Apologize for the previous dumb email. > Anyway, maybe a stupid question :-) but have you configured your virtual > host in the httpd.conf. Something like this > > <VirtualHost 100.100.100.100> > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /var/www/host2/html > ServerName domain.com > WebAppConnection conn warp localhost:8008 > WebAppDeploy _ conn / > ErrorLog logs/domain.com-error_log > CustomLog logs/domain.com-access_log common > </VirtualHost> > > And your server.xml (atleast for domain.com): > <Host name="domain.com"> > <Context path="" docBase="/var/www/host2/html" reloadable="true" debug > ="0"/> > </Host> > > > Hope this helps. > RS > > > > > > Hostmaster of the day <[EMAIL PROTECTED]> on 03/12/2002 11:35:23 AM > > Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > cc: > > Subject: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is > not available. > > 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]> > > > > > > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>