Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » 404 With Tomcat Server in Eclipse Ganymede
404 With Tomcat Server in Eclipse Ganymede [message #221474] Tue, 16 September 2008 16:53 Go to next message
Eclipse UserFriend
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 17:41 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
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 18:07 Go to previous message
Eclipse UserFriend
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: Fri Apr 19 01:13:05 GMT 2024

Powered by FUDForum. Page generated in 0.01993 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top