Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » 404 With Tomcat Server in Eclipse Ganymede
404 With Tomcat Server in Eclipse Ganymede [message #221474] Tue, 16 September 2008 12:53 Go to next message
Eclipse User
Originally posted by: dhicks.i-hicks.org

I know that things like this have been covered about a million times in
various places, but none of the solutions have been helpful for me.

I've got a project that began life as the "quickstart" Struts2 example.
I set it up as a Dynamic Web Project under Eclipse. When I run the
example using the Maven script "mvn jetty:run" all is fine. When I run
it in the server under Eclipse, I get a 404.

It seems like the project module isn't being linked (published?) to the
Tomcat server, but AFAIK it's all set up properly. I'm out of ideas
where to look. Any thoughts?

Thanks,
Dave
Re: 404 With Tomcat Server in Eclipse Ganymede [message #221482 is a reply to message #221474] Tue, 16 September 2008 13:41 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1287
Registered: July 2009
Senior Member
David C. Hicks wrote:
> I know that things like this have been covered about a million times in
> various places, but none of the solutions have been helpful for me.
>
> I've got a project that began life as the "quickstart" Struts2 example.
> I set it up as a Dynamic Web Project under Eclipse. When I run the
> example using the Maven script "mvn jetty:run" all is fine. When I run
> it in the server under Eclipse, I get a 404.
>
> It seems like the project module isn't being linked (published?) to the
> Tomcat server, but AFAIK it's all set up properly. I'm out of ideas
> where to look. Any thoughts?
>
> Thanks,
> Dave

With 404 as the only clue, it's hard to guess what is wrong. Tomcat
uses 404 as the error for many cases in order to avoid disclosing
information about what actually went wrong, something a potential
attacker might find useful.

For information about the Tomcat support that comes with WTP, see:

http://wiki.eclipse.org/WTP_Tomcat_FAQ

Cheers,
Larry
Re: 404 With Tomcat Server in Eclipse Ganymede [message #221490 is a reply to message #221482] Tue, 16 September 2008 14:07 Go to previous message
Eclipse User
Originally posted by: dhicks.i-hicks.org

Thanks for the feedback, Larry.

It worked out that I was just coming back here to report that I have *a*
solution. I installed Tomcat 6 and set a server up using it as the
base. Now, everything is happy. For some reason, Tomcat 5 just
wouldn't fly.

Maybe there's a bug, or maybe I had something horked up in Tomcat 5's
files. I'm happy with my current configuration, though.

Thanks again!

Larry Isaacs wrote:
> David C. Hicks wrote:
>> I know that things like this have been covered about a million times
>> in various places, but none of the solutions have been helpful for me.
>>
>> I've got a project that began life as the "quickstart" Struts2
>> example. I set it up as a Dynamic Web Project under Eclipse. When I
>> run the example using the Maven script "mvn jetty:run" all is fine.
>> When I run it in the server under Eclipse, I get a 404.
>>
>> It seems like the project module isn't being linked (published?) to
>> the Tomcat server, but AFAIK it's all set up properly. I'm out of
>> ideas where to look. Any thoughts?
>>
>> Thanks,
>> Dave
>
> With 404 as the only clue, it's hard to guess what is wrong. Tomcat
> uses 404 as the error for many cases in order to avoid disclosing
> information about what actually went wrong, something a potential
> attacker might find useful.
>
> For information about the Tomcat support that comes with WTP, see:
>
> http://wiki.eclipse.org/WTP_Tomcat_FAQ
>
> Cheers,
> Larry
Previous Topic:Does "Mark Occurrences" for JSP work?
Next Topic:External JARS
Goto Forum:
  


Current Time: Wed Apr 16 00:53:40 EDT 2014

Powered by FUDForum. Page generated in 0.01842 seconds