This is also explained in the WTP Tomcat FAQ:

http://wiki.eclipse.org/WTP_Tomcat_FAQ

or specifically:

http://wiki.eclipse.org/WTP_Tomcat_FAQ#If_I_start_my_Tomcat_server_and_try_to_display_Tomcat.27s_default_page.2C_why_do_I_see_a_directory_listing_or_404_error_page.3F


Cheers,
Larry

-----Original Message-----
From: Ingmar Lötzsch [mailto:iloetz...@asci-systemhaus.de]
Sent: Tuesday, March 17, 2009 4:31 AM
To: Tomcat Users List
Subject: Re: Tomcat 6.0 in Eclipse

> I downloaded apache-tomcat-6.0.16 and ran the startup.bat. I could see the
> page display at http://localhost:8080/
>
> Later, I configured the same in eclipse 3.4 and started the tomcat using
> eclipse.Eclipse started the tomcat with no exception.
> However, when I go to the page at http://localhost:8080/ I see HTTP Status
> 404 error.

The plugin you use inside Eclipse starts Tomcat with a different
configuration including an "empty" ROOT context. If you develop with the
WTP plugin, look at

<workspace>\.metadata\.plugins\org.eclipse.wst.server.core

and than for example

\tmp0\conf\server.xml

or

\tmp0\wtpwebapps

Ingmar

---------------------------------------------------------------------
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

Reply via email to