The TestServlet.class file is under C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp\WEB-INF\classes
The Web.xml file is under: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp\WEB-INF The Web.mxl file has a capital W...About your question Mark --> Is WEB-INF/web.xml using the right case? Do you mean the mapping for TestServlet? If so yes, see my Web.xml This is my Web.xml file: <?xml version="1.0" encoding="ISO-8859-1"?> <Web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <display-name>VI Client Plugin Demo App</display-name> <description> VI Client Plugin Demo App with Tomcat and VI Java API</description> <servlet> <servlet-name>TestServlet</servlet-name> <servlet-class>TestServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>TestServlet</servlet-name> <url-pattern>/TestServlet</url-pattern> </servlet-mapping> </Web-app> The catalina log: Jul 16, 2009 3:28:57 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.16. Jul 16, 2009 3:28:57 PM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. Jul 16, 2009 3:28:58 PM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:28:58 PM org.apache.coyote.ajp.AjpAprProtocol init INFO: Initializing Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:28:58 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 716 ms Jul 16, 2009 3:28:58 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jul 16, 2009 3:28:58 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 Jul 16, 2009 3:28:58 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive ViClientWebApp.war Jul 16, 2009 3:28:58 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:28:58 PM org.apache.coyote.ajp.AjpAprProtocol start INFO: Starting Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:28:58 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 888 ms Jul 16, 2009 3:29:09 PM org.apache.coyote.http11.Http11AprProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:29:09 PM org.apache.coyote.ajp.AjpAprProtocol pause INFO: Pausing Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:29:10 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Jul 16, 2009 3:29:10 PM org.apache.coyote.http11.Http11AprProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:29:10 PM org.apache.coyote.ajp.AjpAprProtocol destroy INFO: Stopping Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:29:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.16. Jul 16, 2009 3:29:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. Jul 16, 2009 3:29:32 PM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:29:32 PM org.apache.coyote.ajp.AjpAprProtocol init INFO: Initializing Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:29:32 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 449 ms Jul 16, 2009 3:29:32 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jul 16, 2009 3:29:32 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 Jul 16, 2009 3:29:32 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive ViClientWebApp.war Jul 16, 2009 3:29:32 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Jul 16, 2009 3:29:32 PM org.apache.coyote.ajp.AjpAprProtocol start INFO: Starting Coyote AJP/1.3 on ajp-8009 Jul 16, 2009 3:29:32 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 344 ms Jul 16, 2009 3:29:47 PM org.apache.catalina.startup.HostConfig checkResources INFO: Undeploying context [/ViClientWebApp] Jul 16, 2009 3:29:53 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive ViClientWebApp.war The manager log (i have undeployed my webApp and redeployed it to test): Jul 16, 2009 3:29:43 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,host=localhost' Jul 16, 2009 3:29:43 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: init: Global resources are available Jul 16, 2009 3:29:43 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list: Listing contexts for virtual host 'localhost' Jul 16, 2009 3:29:47 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: undeploy: Undeploying web application at '/ViClientWebApp' Jul 16, 2009 3:29:47 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list: Listing contexts for virtual host 'localhost' Jul 16, 2009 3:30:13 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list: Listing contexts for virtual host 'localhost' 2009/7/16 David Smith <d...@cornell.edu> > In addition to the questions posed by Pid and Mark, where is your > compiled java servlet (.class file) in the ViClientWebApp folder? > > Also what do the logs show for the moments your webapp is deployed and > request your servlet? > > --David > > Thomas Vite wrote: > > The only thing i can think of that wouldnt be setup properly is the > Web.xml > > file in WEB-INF (for what i understand it is supposed to make the app > > available at http://localhost:8080/ViClientWebApp/TestServlet : > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > > > <Web-app xmlns="http://java.sun.com/xml/ns/javaee" > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > > > > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > > > > version="2.5"> > > > > <display-name>VI Client Plugin Demo App</display-name> > > > > <description> VI Client Plugin Demo App with Tomcat and VI Java > > > > API</description> > > > > <servlet> > > > > <servlet-name>TestServlet</servlet-name> > > > > <servlet-class>TestServlet</servlet-class> > > > > </servlet> > > > > <servlet-mapping> > > > > <servlet-name>TestServlet</servlet-name> > > > > <url-pattern>/TestServlet</url-pattern> > > > > </servlet-mapping> > > > > </Web-app> > > > > > > 2009/7/16 Thomas Vite <activedirl...@gmail.com> > > > > > >> The real case is : C:\Program Files\Apache Software Foundation\Tomcat > >> 6.0\webapps\ViClientWebApp > >> > >> 2009/7/16 Mark Thomas <ma...@apache.org> > >> > >> > >>> Thomas Vite wrote: > >>> > >>> > >>>> Yeah but after restarting Tomcat i still receive that infamous: > >>>> HTTP Status 404 - /ViClientWebApp/TestServlet > >>>> ------------------------------ > >>>> > >>>> *type* Status report > >>>> > >>>> *message* */ViClientWebApp/TestServlet* > >>>> > >>>> *description* *The requested resource (/ViClientWebApp/TestServlet) is > >>>> > >>> not > >>> > >>>> available.* > >>>> I have renamed the project ViClientWebApp which now look like this: > >>>> C:\PROGRAM FILES\APACHE SOFTWARE FOUNDATION\TOMCAT > >>>> 6.0\WEBAPPS\VICLIENTWEBAPP > >>>> > >>> What is the real case of this directory? Tomcat is case sensitive even > >>> if Windows isn't. > >>> > >>> Mark > >>> > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >>> For additional commands, e-mail: users-h...@tomcat.apache.org > >>> > >>> > >>> > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >