Two Laptop Bag
The moose likes IDEs, Version Control and other tools and the fly likes Tomcat 5.0 (5.5) and Eclipse problem... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Tomcat 5.0 (5.5) and Eclipse problem..." Watch "Tomcat 5.0 (5.5) and Eclipse problem..." New topic

Tomcat 5.0 (5.5) and Eclipse problem...

Daniel Platon
Ranch Hand

Joined: Oct 10, 2005
Posts: 42
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,
Sunil Vasudevan
Ranch Hand

Joined: Mar 05, 2007
Posts: 107
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...

Sunil.V<br />SCJP2, SCWCD1.4, SCBCD1.3
I agree. Here's the link:
subject: Tomcat 5.0 (5.5) and Eclipse problem...
It's not a secret anymore!