Getting HTTP 404 - /MyApp01/ I have cleaned and then build the project but when I run it within eclipes I get a 404-. My application is to just display the welcome
jsp from the web.xml file (Product.jsp).
Tomcat was running and it looks like I didn't get any errors.
I am new to eclipes and tomcat
Any help will be appreciated
Bruce
eclipes helios
jdk 1.6.21
tomcat:Tomcat v7.0 Server at localhost
configuration path :/Servers/Tomcat v7.0 Server at localhost-config
use workspace metadata :.metadata\.plugins\org.eclipse.wst.server.core\tmp0
web-app_3_0.xsd
XML file
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="WebApp_ID" version="3.0">
<display-name>MyApp01</display-name>
<security-constraint>
<web-resource-collection>
<web-resource-name>JSPs</web-resource-name>
<url-pattern>/jsp/*</url-pattern>
</web-resource-collection>
<auth-constraint/>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<welcome-file-list>
<welcome-file>Product.jsp</welcome-file>
</welcome-file-list>
</web-app>
my console display
Sep 20, 2010 3:08:41 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;c:\Program Files\java\jdk1.6.21\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Sep 20, 2010 3:08:41 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:MyApp01' did not find a matching property.
Sep 20, 2010 3:08:41 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 546 ms
Sep 20, 2010 3:08:41 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 20, 2010 3:08:41 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting
Servlet Engine: Apache Tomcat/7.0.0
Sep 20, 2010 3:08:41 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Sep 20, 2010 3:08:41 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Sep 20, 2010 3:08:41 PM org.apache.coyote.ajp.AjpProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Sep 20, 2010 3:08:41 PM org.apache.coyote.ajp.AjpProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Sep 20, 2010 3:08:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 364 ms