This is normal.

When you start Tomcat manually, it uses YOUR-TOMCAT-HOME/webapps as default webapp directory. This directory contains "ROOT" webapp (visible on context "/"), and that is the welcome page you see.

On the other side, when you start Tomcat inside Eclipse, it uses some other webapp folder like YOUR-ECLIPSE-WORKSPACE/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps, which doesn't contains ROOT webapp (or, sometimes contains blank ROOT webapp). In that case on context "/" (http://localhost:8080/), you will get either HTTP error 404 or blank page.

Regards,
Ognjen


ados1...@gmail.com wrote:
Interesting Things are happening with my Tomcat.

Points to Note:


   1. I am installing tomcat version 6.x and than running it by clicking
   startup.bat file and it is running fine as when I check in browser typing
   http://localhost:8080/ it shows me the Apache Foundation Welcome pages
   saying that Installation works fine.
   2. Interesting thing to note is that when I stop my server using
   shutdown.bat file than it work fine but now if I start my server using
   eclipse than it starts but when I go to browser to check Apache Foundation
   Welcome Page than it is not there and I get message as under and it is
   confusing.


Apache Tomcat/6.0.18 - Error report
Apache Tomcat/6.0.18 - Error report HTTP Status 404 - /
------------------------------

*type* Status report

*message* */*

*description* *The requested resource (/) is not available.*
------------------------------
Apache Tomcat/6.0.18


Any guidance would be appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to