Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Problems getting 'anything' to be served by Tomcat 5.5
Problems getting 'anything' to be served by Tomcat 5.5 [message #144116] Mon, 17 October 2005 09:03 Go to next message
Eclipse UserFriend
I have used both Eclipse and Tomcat before (a little rusty with Tomcat),
but am new to the webtools project. I have installed Eclipse 3.1, Tomcat
5.5 and WTP 0.7.

Tomcat works fine on it's own, serving up the normal example servlets,
jsps, static html, etc.

When I create a 'Hello World' WTP application from scratch, I cannot get
Tomcat to serve up any content - static html, jsp or servlet. Everything
'looks' to be ok. Both of my test modules show up in my server view
under my Tomcat 5.5 server. The server says it is started and
synchronized - but is seems to be reduced to producing directory empty
listings or 404 responses.

I've been following the tutorial at
< http://www.eclipse.org/webtools/community/tutorials/BuildJ2E EWebApp/BuildJ2EEWebApp.html>
(not word for word, but the general spirit of the document) - is this
out of date now? Is there anything missing from this document that I
have not configured? Is it possible that I have changed a setting
somewhere that stops Tomcat running my dynamic web app?

Other posts in this newsgroup have had (I believe) different problems to
mine, so any further info would be appreciated.

Thanks.

Russell Dodd
Re: Problems getting 'anything' to be served by Tomcat 5.5 [message #144151 is a reply to message #144116] Mon, 17 October 2005 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Hello

What is showing in your Tomcat log? Ie did you add the log4j.properties so that you coudl get log events from tomcat 5.5?

By doing a log4j.properties you should be able to cusotmize it to get the detial listings in the Eclispe consoel that you happen to need at the moment to resolve this problem..

common>classes is where you will put the file..

You can find out thow to do it fromthe tomcat 5.5 manual online files at apach.org..

ASF changed the loggin stuff fro tomcat 5.5..it does nto come preisntalled with log4j.properties although its pretty much required to track down problems..

Yes, I got caught by assuming that the log stuff was the same as in previous Tomcat releases when I updated to tomcqat 5.5..
Re: Problems getting 'anything' to be served by Tomcat 5.5 [message #144288 is a reply to message #144151] Tue, 18 October 2005 04:46 Go to previous message
Eclipse UserFriend
OK, thanks for the tip.

After playing around a bit more, I've been able to get my second project
to serve up content. The first still does not though. I think this
probably has something to do with not setting a context root when I
created the project.

How do I change/set the context root after I have created a project?

Fred Grott wrote:
> Hello
>
> What is showing in your Tomcat log? Ie did you add the log4j.properties so that you coudl get log events from tomcat 5.5?
>
> By doing a log4j.properties you should be able to cusotmize it to get the detial listings in the Eclispe consoel that you happen to need at the moment to resolve this problem..
>
> common>classes is where you will put the file..
>
> You can find out thow to do it fromthe tomcat 5.5 manual online files at apach.org..
>
> ASF changed the loggin stuff fro tomcat 5.5..it does nto come preisntalled with log4j.properties although its pretty much required to track down problems..
>
> Yes, I got caught by assuming that the log stuff was the same as in previous Tomcat releases when I updated to tomcqat 5.5..
Previous Topic:xml Folding
Next Topic:integration builds
Goto Forum:
  


Current Time: Thu Apr 24 08:52:58 EDT 2025

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

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

Back to the top