You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Krishnaveni Krishnarajah <kr...@gmail.com> on 2009/03/17 00:47:27 UTC

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.

Can someone please help me find out the issue.

Regards,
Krishnaveni Krishnarajah

Re: Tomcat 6.0 in Eclipse

Posted by Krishnaveni Krishnarajah <kr...@gmail.com>.
Thanks a lot Larry and Ingmar. I found out the issue of different
configuration and why the default page is not getting loaded.
Regards,
Krishnaveni Krishnarajah

On Tue, Mar 17, 2009 at 7:33 AM, Larry Isaacs <La...@sas.com> wrote:

> 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:iloetzsch@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: Tomcat 6.0 in Eclipse

Posted by Larry Isaacs <La...@sas.com>.
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:iloetzsch@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6.0 in Eclipse

Posted by Ingmar Lötzsch <il...@asci-systemhaus.de>.
> 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org