Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
Thank you ! Status 404 persists :-(( Here the first domainDotCom_tomcatApache_log.2002-03-14.txt : 2002-03-14 22:40:03 WebappLoader[]: Deploying class repositories to work directory /var/tomcat4/work/domain.com/_ 2002-03-14 22:40:03 WebappLoader[]: Reloading checks are enabled for this Context 2002-03-14 22:40:03 StandardManager[]: Seeding random number generator class java.security.SecureRandom 2002-03-14 22:40:03 StandardManager[]: Seeding of random number generator has been completed 2002-03-14 22:40:03 ContextConfig[] Configuration error in application web.xml java.lang.IllegalArgumentException: addChild: Child name 'default' is not unique at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779 ) at org.apache.catalina.core.StandardContext.addChild(StandardContext.java :1276) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.util.xml.AddChild.end(XmlMapper.java:811) at org.apache.catalina.util.xml.XmlMapper.matchEnd(XmlMapper.java:419) at org.apache.catalina.util.xml.XmlMapper.endElement(XmlMapper.java:119) at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java: 347) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLVal idator.java:1550) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispa tch(XMLDocumentScanner.java:1149) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSc anner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223) at javax.xml.parsers.SAXParser.parse(SAXParser.java:362) at javax.xml.parsers.SAXParser.parse(SAXParser.java:137) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275) at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCon fig.java:256) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824 ) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig .java:224) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Support.java:155) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131) at org.apache.catalina.core.StandardContext.start(StandardContext.java:33 45) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:614) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343) at org.apache.catalina.core.StandardService.start(StandardService.java:38 8) at org.apache.catalina.core.StandardServer.start(StandardServer.java:506) at org.apache.catalina.startup.Catalina.start(Catalina.java:781) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) 2002-03-14 22:40:03 ContextConfig[]: Marking this application unavailable due to previous error(s) 2002-03-14 22:40:03 StandardContext[]: Error initializing naming context for context 2002-03-14 22:40:03 StandardContext[]: Context startup failed due to previous errors 2002-03-14 22:40:03 StandardContext[]: Error initializing naming context for context --Mark - Original Message - From: <[EMAIL PROTECTED]> To: "Hostmaster of the day" <[EMAIL PROTECTED]> Sent: Thursday, March 14, 2002 10:26 PM Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available. > > Shoot! I'm sorry. Here's the new server.xml. > (See attached file: server.txt) > rename it to server.xml and then replace. > > Thanks. > RS > > > > > > > Hostmaster of the day <[EMAIL PROTECTED]> on 03/14/2002 02:56:47 PM > > To: [EMAIL PROTECTED] > cc: > > Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet > is not available. > > Hi RS ! > > I replaced the standard server.xml file by your server.xml file. > > The 404 problem still persists. Additional I'm no longer able to stop > Tomcat4. > > Error message : > > PARSE error at line 3 column 2 of /var/tomcat4/conf/server.xml > org.xml.sax.SAXParseException: The markup in the document preceding > the root element must be well-formed. > Catalina.stop: org.xml.sax.SAXParseException: The markup in the > document preceding the root element must be well-formed. > org.xml.sax
Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
Hi RS ! I replaced the standard server.xml file by your server.xml file. The 404 problem still persists. Additional I'm no longer able to stop Tomcat4. Error message : PARSE error at line 3 column 2 of /var/tomcat4/conf/server.xml org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. Catalina.stop: org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213) at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XML DocumentScanner.java:570) at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispat ch(XMLDocumentScanner.java:857) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSc anner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223) at javax.xml.parsers.SAXParser.parse(SAXParser.java:362) at javax.xml.parsers.SAXParser.parse(SAXParser.java:301) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228) at org.apache.catalina.startup.Catalina.stop(Catalina.java:822) at org.apache.catalina.startup.Catalina.execute(Catalina.java:683) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) No domainDotCom_tomcatApache_log.txt or domainTwoDotCom_tomcatApache_log.txt have been created. Normally both should be created. --Mark - Original Message - From: <[EMAIL PROTECTED]> To: "Hostmaster of the day" <[EMAIL PROTECTED]> Sent: Thursday, March 14, 2002 3:21 PM Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available. > > Mark, > I've updated your server.xml (attached as server.txt. rename to > server.xml). Replace the current server.xml you are using with this new > one. If you look under the Service tag for Tomcat-Apache, you'll notice > that I've added the Logger element for each virtual host. This will create > the following logs for each host when Tomcat is started, namely: > domainDotCom_tomcatApache_log.txt-> for host domain.com > and > domainTwoDotCom_tomcatApache_log.txt-> for host domain2.com > > Restart Tomcat. Restart Apache. Try accessing a web page using the URL: > http://domain.com/ > Check the logs for errors. In case you don't figure out the error attach > them in an email. > > Thanks. > RS > > (See attached file: server.txt) > > > > > > > Hostmaster of the day <[EMAIL PROTECTED]> on 03/14/2002 03:18:42 AM > > To: [EMAIL PROTECTED] > cc: > > Subject: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is > not available. > > > And the modified server.xml > > server.txt (15877 bytes) has been removed from this note. > server.txt (15877 bytes) has been removed from this note. > > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343) at org.apache.catalina.core.StandardService.start(StandardService.java:38 8) at org.apache.catalina.core.StandardServer.start(StandardServer.java:506) at org.apache.catalina.startup.Catalina.start(Catalina.java:781) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) 2002-03-14 09:45:11 ContextConfig[]: Marking this application unavailable due to previous error(s) 2002-03-14 09:45:11 StandardContext[]: Error initializing naming context for context 2002-03-14 09:45:11 StandardContext[]: Context startup failed due to previous errors 2002-03-14 09:45:11 StandardContext[]: Error initializing naming context for context 2002-03-14 09:45:11 WebappLoader[]: Deploying class repositories to work directory /var/tomcat4/work/domain2.com/_ 2002-03-14 09:45:11 WebappLoader[]: Reloading checks are enabled for this Context 2002-03-14 09:45:11 StandardManager[]: Seeding random number generator class java.security.SecureRandom 2002-03-14 09:45:11 StandardManager[]: Seeding of random number generator has been completed /var/log/httpd/error_log got no information regarding Tomcat errors. All Tomcat-Apache logs are generated by Tomcat /var/tomcat4/logs/... I'll provide you with new logs dated March 14, 2002 tomorrow. Something changed since I moved the server.xml host tags to the right place within the "Tomcat-Apache" part. I already receive the HTTP Status 404 if I use http://www.domain.com The domain directory is no longer accessible through http. That's very strange. As soon as I remove the following line WebAppDeploy /var/www/host2/html/ conn / from the virtual host section of that domain http is alright again. --Mark > Could you provide the error page. > > Do you know if it was generate by Apache or Tomcat? > > Does the access log for Tomcat show that the request is being forwarded to > Tomcat? > > -Original Message- > From: Hostmaster of the day [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 9:39 AM > To: [EMAIL PROTECTED] > Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - > /servlet/SnoopServlet is not available. > > > My fault ;-( Thank you ! > > I changed the server.xml and placed the host tags > correctly within the "Tomcat-Apache" part : > > Then > tomcat4 stop > tomcat4 start > apache stop > apache start > > and ... the problem still persists. > Unbelievable but true. The same 404 status. > > I'm so sorry, > --Mark > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Hostmaster of the day" <[EMAIL PROTECTED]> > Sent: Wednesday, March 13, 2002 4:02 PM > Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - > /servlet/SnoopServlet is not available. > > > > > > I just checked your server.xml that you attached. The > tags are > > present within the . You need to > put them > > within thetag since you have > associated > > the > ="org.apache.catalina.connector.warp.WarpConnector".../> with > > Tomcat-Apache. > > So just cut and paste the Host tags from the Tomcat-Standalone to > > Tomcat-Apache. > > > > ** > > > > So eventually your server.xml will read like this: > > > > > > > > className="org.apache.catalina.connector.warp.WarpConnector" > > port="8008" minProcessors="5" maxProcessors="75" > > enableLookups="true" appBase="webapps" > > acceptCount="10" debug="0"/> > > > > > > className="org.apache.catalina.connector.warp.WarpEngine" > > name="Apache" debug="0"> > > > > > >> prefix="apache_log." suffix=".txt" > > timestamp="true"/> > > > > > > > > > > > > > >debug > > ="0"/> > > > > > > > >debug > > ="0"/> > > > > > > > > > > > > > > > > > > ** > > > > Thanks. > > RS -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
RE: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
/var/log/httpd/error_log got no information regarding Tomcat errors. All Tomcat-Apache logs are generated by Tomcat /var/tomcat4/logs/... I'll provide you with new logs dated March 14, 2002 tomorrow. Something changed since I moved the server.xml host tags to the right place within the "Tomcat-Apache" part. I already receive the HTTP Status 404 if I use http://www.domain.com The domain directory is no longer accessible through http. That's very strange. As soon as I remove the following line WebAppDeploy /var/www/host2/html/ conn / from the virtual host section of that domain http is alright again. --Mark > Could you provide the error page. > > Do you know if it was generate by Apache or Tomcat? > > Does the access log for Tomcat show that the request is being forwarded to > Tomcat? > > -Original Message- > From: Hostmaster of the day [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 9:39 AM > To: [EMAIL PROTECTED] > Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - > /servlet/SnoopServlet is not available. > > > My fault ;-( Thank you ! > > I changed the server.xml and placed the host tags > correctly within the "Tomcat-Apache" part : > > Then > tomcat4 stop > tomcat4 start > apache stop > apache start > > and ... the problem still persists. > Unbelievable but true. The same 404 status. > > I'm so sorry, > --Mark > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Hostmaster of the day" <[EMAIL PROTECTED]> > Sent: Wednesday, March 13, 2002 4:02 PM > Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - > /servlet/SnoopServlet is not available. > > > > > > I just checked your server.xml that you attached. The > tags are > > present within the . You need to > put them > > within thetag since you have > associated > > the > ="org.apache.catalina.connector.warp.WarpConnector".../> with > > Tomcat-Apache. > > So just cut and paste the Host tags from the Tomcat-Standalone to > > Tomcat-Apache. > > > > ** > > > > So eventually your server.xml will read like this: > > > > > > > > className="org.apache.catalina.connector.warp.WarpConnector" > > port="8008" minProcessors="5" maxProcessors="75" > > enableLookups="true" appBase="webapps" > > acceptCount="10" debug="0"/> > > > > > > className="org.apache.catalina.connector.warp.WarpEngine" > > name="Apache" debug="0"> > > > > > >> prefix="apache_log." suffix=".txt" > > timestamp="true"/> > > > > > > > > > > > > > >debug > > ="0"/> > > > > > > > >debug > > ="0"/> > > > > > > > > > > > > > > > > > > ** > > > > Thanks. > > RS > > > > > > > > > > > > Hostmaster of the day <[EMAIL PROTECTED]> on 03/13/2002 > 08:35:56 AM > > > > To: [EMAIL PROTECTED] > > cc: > > > > Subject: Apache Tomcat/4.0.3 - HTTP Status 404 - > /servlet/SnoopServlet is > > not available. > > > > > > Here they are : > > > > a) httpd.conf got the following entries : > > > > LoadModule webapp_module modules/mod_webapp.so > > AddModule mod_webapp.c > > > > > > WebAppConnection warpConnection warp localhost:8008 > > WebAppDeploy ROOT warpConnection /tomcat/ > > WebAppDeploy examples warpConnection /examples/ > > > > > > vhost.conf : > > > > > > ServerName domain.com > > DocumentRoot /var/www/host2/html > > User host2user > > Group users > > ScriptAlias /cgi-bin/ /var/www/host2/html/cgi-bin/ > > WebAppConnection conn warp localhost:8008 > > WebAppDeploy /var/www/host2/html/ conn / > > php_admin_value open_basedir /var/www/host2 > > php_admin_value upload_tmp_dir /var/www/host2/phptmp > > CustomLog /var/www/host2/log/access_log > > > > > > b) I'm using the standard web.xml file of the Tomcat4.0.3 > > distribution. I changed nothing. > > > > c) please find the server.xml file attached as s
RE: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
Could you provide the error page. Do you know if it was generate by Apache or Tomcat? Does the access log for Tomcat show that the request is being forwarded to Tomcat? -Original Message- From: Hostmaster of the day [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 9:39 AM To: [EMAIL PROTECTED] Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available. My fault ;-( Thank you ! I changed the server.xml and placed the host tags correctly within the "Tomcat-Apache" part : Then tomcat4 stop tomcat4 start apache stop apache start and ... the problem still persists. Unbelievable but true. The same 404 status. I'm so sorry, --Mark - Original Message - From: <[EMAIL PROTECTED]> To: "Hostmaster of the day" <[EMAIL PROTECTED]> Sent: Wednesday, March 13, 2002 4:02 PM Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available. > > I just checked your server.xml that you attached. The tags are > present within the . You need to put them > within thetag since you have associated > the ="org.apache.catalina.connector.warp.WarpConnector".../> with > Tomcat-Apache. > So just cut and paste the Host tags from the Tomcat-Standalone to > Tomcat-Apache. > > ** > > So eventually your server.xml will read like this: > > > > port="8008" minProcessors="5" maxProcessors="75" > enableLookups="true" appBase="webapps" > acceptCount="10" debug="0"/> > > > name="Apache" debug="0"> > > > prefix="apache_log." suffix=".txt" > timestamp="true"/> > > > > > > >="0"/> > > > > ="0"/> > > > > > > > > > ** > > Thanks. > RS > > > > > > Hostmaster of the day <[EMAIL PROTECTED]> on 03/13/2002 08:35:56 AM > > To: [EMAIL PROTECTED] > cc: > > Subject: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is > not available. > > > Here they are : > > a) httpd.conf got the following entries : > > LoadModule webapp_module modules/mod_webapp.so > AddModule mod_webapp.c > > > WebAppConnection warpConnection warp localhost:8008 > WebAppDeploy ROOT warpConnection /tomcat/ > WebAppDeploy examples warpConnection /examples/ > > > vhost.conf : > > > ServerName domain.com > DocumentRoot /var/www/host2/html > User host2user > Group users > ScriptAlias /cgi-bin/ /var/www/host2/html/cgi-bin/ > WebAppConnection conn warp localhost:8008 > WebAppDeploy /var/www/host2/html/ conn / > php_admin_value open_basedir /var/www/host2 > php_admin_value upload_tmp_dir /var/www/host2/phptmp > CustomLog /var/www/host2/log/access_log > > > b) I'm using the standard web.xml file of the Tomcat4.0.3 > distribution. I changed nothing. > > c) please find the server.xml file attached as server.txt > > Is it necessary to create a webapps directory within > a virtual host directory ? > > It would be the greatest day in my life if this error could > be found and fixed. I never have had so much trouble. > > Thanks, > --Mark > > > > > 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 > > > >
Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
My fault ;-( Thank you ! I changed the server.xml and placed the host tags correctly within the "Tomcat-Apache" part : Then tomcat4 stop tomcat4 start apache stop apache start and ... the problem still persists. Unbelievable but true. The same 404 status. I'm so sorry, --Mark - Original Message - From: <[EMAIL PROTECTED]> To: "Hostmaster of the day" <[EMAIL PROTECTED]> Sent: Wednesday, March 13, 2002 4:02 PM Subject: Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available. > > I just checked your server.xml that you attached. The tags are > present within the . You need to put them > within thetag since you have associated > the ="org.apache.catalina.connector.warp.WarpConnector".../> with > Tomcat-Apache. > So just cut and paste the Host tags from the Tomcat-Standalone to > Tomcat-Apache. > > ** > > So eventually your server.xml will read like this: > > > > port="8008" minProcessors="5" maxProcessors="75" > enableLookups="true" appBase="webapps" > acceptCount="10" debug="0"/> > > > name="Apache" debug="0"> > > > prefix="apache_log." suffix=".txt" > timestamp="true"/> > > > > > > >="0"/> > > > > ="0"/> > > > > > > > > > ** > > Thanks. > RS > > > > > > Hostmaster of the day <[EMAIL PROTECTED]> on 03/13/2002 08:35:56 AM > > To: [EMAIL PROTECTED] > cc: > > Subject: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is > not available. > > > Here they are : > > a) httpd.conf got the following entries : > > LoadModule webapp_module modules/mod_webapp.so > AddModule mod_webapp.c > > > WebAppConnection warpConnection warp localhost:8008 > WebAppDeploy ROOT warpConnection /tomcat/ > WebAppDeploy examples warpConnection /examples/ > > > vhost.conf : > > > ServerName domain.com > DocumentRoot /var/www/host2/html > User host2user > Group users > ScriptAlias /cgi-bin/ /var/www/host2/html/cgi-bin/ > WebAppConnection conn warp localhost:8008 > WebAppDeploy /var/www/host2/html/ conn / > php_admin_value open_basedir /var/www/host2 > php_admin_value upload_tmp_dir /var/www/host2/phptmp > CustomLog /var/www/host2/log/access_log > > > b) I'm using the standard web.xml file of the Tomcat4.0.3 > distribution. I changed nothing. > > c) please find the server.xml file attached as server.txt > > Is it necessary to create a webapps directory within > a virtual host directory ? > > It would be the greatest day in my life if this error could > be found and fixed. I never have had so much trouble. > > Thanks, > --Mark > > > > > 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 > > > > > > > > > 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 > > > > > > > > > And your server.xml (atlea
RE: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
Have you tried mapping the ROOT as WebAppDeploy ROOT warpConnection / within your virtual host or as part of the main httpd.comf file? When I add it to my httpd.conf I get the root context of Tomcat in place of my default Apache htdocs directory -Original Message- From: Hostmaster of the day [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 7:36 AM To: [EMAIL PROTECTED] Subject: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available. Here they are : a) httpd.conf got the following entries : LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection warpConnection warp localhost:8008 WebAppDeploy ROOT warpConnection /tomcat/ WebAppDeploy examples warpConnection /examples/ vhost.conf : ServerName domain.com DocumentRoot /var/www/host2/html User host2user Group users ScriptAlias /cgi-bin/ /var/www/host2/html/cgi-bin/ WebAppConnection conn warp localhost:8008 WebAppDeploy /var/www/host2/html/ conn / php_admin_value open_basedir /var/www/host2 php_admin_value upload_tmp_dir /var/www/host2/phptmp CustomLog /var/www/host2/log/access_log b) I'm using the standard web.xml file of the Tomcat4.0.3 distribution. I changed nothing. c) please find the server.xml file attached as server.txt Is it necessary to create a webapps directory within a virtual host directory ? It would be the greatest day in my life if this error could be found and fixed. I never have had so much trouble. Thanks, --Mark > > 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 > > > > > > 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 > > > > > > And your server.xml (atleast for domain.com): > > > > debug > > ="0"/> > > > > > > > > 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 availabl
Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
Here they are : a) httpd.conf got the following entries : LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection warpConnection warp localhost:8008 WebAppDeploy ROOT warpConnection /tomcat/ WebAppDeploy examples warpConnection /examples/ vhost.conf : ServerName domain.com DocumentRoot /var/www/host2/html User host2user Group users ScriptAlias /cgi-bin/ /var/www/host2/html/cgi-bin/ WebAppConnection conn warp localhost:8008 WebAppDeploy /var/www/host2/html/ conn / php_admin_value open_basedir /var/www/host2 php_admin_value upload_tmp_dir /var/www/host2/phptmp CustomLog /var/www/host2/log/access_log b) I'm using the standard web.xml file of the Tomcat4.0.3 distribution. I changed nothing. c) please find the server.xml file attached as server.txt Is it necessary to create a webapps directory within a virtual host directory ? It would be the greatest day in my life if this error could be found and fixed. I never have had so much trouble. Thanks, --Mark > > 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 > > > > > > 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 > > > > > > And your server.xml (atleast for domain.com): > > > > debug > > ="0"/> > > > > > > > > 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 : > > > > --> > > > > > > > debug="0"/> > > > > > > > debug="0"/> > > > > > > > debug="0"/> > > > > > > > debug="0"/> > > > > > > > > mod_jk.conf :
Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
Unfortunately not :-( I got the same result. --Mark > Could this ol' lack of trailing / problem > > Have you tried http://www.domain.com/servlet/SnoopServlet/ > > -Original Message- > From: Hostmaster of the day [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 12, 2002 10:35 AM > To: [EMAIL PROTECTED] > 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 : > > --> > > >debug="0"/> > > >debug="0"/> > > >debug="0"/> > > >debug="0"/> > > > > mod_jk.conf : > > > > 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 > > > Include /etc/httpd/conf/mod_jk.conf > > > # Setup Tomcat > > AllowOverride None > deny from all > > > 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]>
RE: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
Could this ol' lack of trailing / problem Have you tried http://www.domain.com/servlet/SnoopServlet/ -Original Message- From: Hostmaster of the day [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 10:35 AM To: [EMAIL PROTECTED] 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 : --> mod_jk.conf : 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 Include /etc/httpd/conf/mod_jk.conf # Setup Tomcat AllowOverride None deny from all 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]>
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 : --> mod_jk.conf : 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 Include /etc/httpd/conf/mod_jk.conf # Setup Tomcat AllowOverride None deny from all 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]>
Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.
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 : --> mod_jk.conf : 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 Include /etc/httpd/conf/mod_jk.conf # Setup Tomcat AllowOverride None deny from all 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]>