Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 5.0 (5.5) and Eclipse problem...

 
Daniel Platon
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I recently switched to Eclipse (coming from Rational tools) and I encountered some problems running an "embedded" Tomcat server. I declared the instance and everything but when I open my web browser and point it to http://localhost:8080 it returns a "directory listing" page (no folders though). Also, no applications deployed via Eclipse IDE are running in these conditions, they all show "resource cannot be found" errors. I tried this with Tomcat 5.0.28 and Tomcat 5.5.16 and the results were the same.
I am using Eclipse 3.2.2 and WST 1.5.3. Can anyone please help ?

Thanks a lot,
Dan
 
Sunil Vasudevan
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have index.html or a welcome file configured for your web-app??

If you have not and in your Tomcat web.xml, <param-name>listings</param-name> is set to true, you will get a directory listing...

I use Eclipse 3.2 with WTP and Tomcat. Works well...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic