tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Wood <jason.w...@vmonitor.com>
Subject 404 HELP HELP! this is driveing me NUTS
Date Thu, 02 May 2002 17:17:18 GMT
i am receiving a 404 error for a
servlet....http://localhost/servlet/vm.admin.servlet.Login

situation all class files are under d:\webapps\vmonitor\

this is my server.xml

<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Standalone">
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
port="80" minProcessors="5" maxProcessors="75" enableLookups="true"
redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="60000"/>
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009"
minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
    <Engine name="Standalone" defaultHost="localhost" debug="0">
	    	<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt" timestamp="true"/>
		<Realm className="org.apache.catalina.realm.MemoryRealm" />
    		<Host name="localhost" debug="1" appBase="d:/webapps"
unpackWARs="true">
        		<Valve
className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common"/>
		      <Logger
className="org.apache.catalina.logger.FileLogger"     directory="logs"
prefix="localhost_log."        suffix=".txt" timestamp="true"/>
   			<Context path="/servlet" docBase="vmonitor"
debug="1"  privileged="false"/>
   			<Context path=""         docBase="tomcat-docs"
debug="1"  privileged="false"/>
  	      </Host>
    </Engine>
  </Service>
  <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75" enableLookups="true"
appBase="webapps" acceptCount="10" debug="0"/>
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
      <Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt" timestamp="true"/>
      <Realm className="org.apache.catalina.realm.MemoryRealm" />
    </Engine>
  </Service>
</Server>


this my web.xml file

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
	<servlet>
		<servlet-name>Admin Login Servlet</servlet-name>
		<servlet-class>vm.admin.servlet.Login</servlet-class>
		<load-on-startup>1</load-on-startup>
	</servlet>
</web-app>

snap shoot of directory structure

 <<...OLE_Obj...>> 







--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message