[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: Tomcat deployment issue

John Marks wrote:
This happens in Eclipse Europa 3.3.1.1 under Windows XP. I read the FAQs and configured the Tomcat server to deploy directly to my Tomcat 5.5 installation directory. I create a very simple Dynamic Web Project named "test" and add it to the server and tell the server to publish it. Sure enough, I see the project under apache-tomcat-5.5.27/wtpwebapps.

I start the Tomcat server from Eclipse and I'm able to get to the ROOT home page at http://localhost:8080/. I try http://localhost:8080/test/index.html and get a 404 Error. Even when I move the project to apache-tomcat-5.5.27/webapps and start Tomcat from startup.bat the same thing happens.

I'm feeling pretty stupid about all this, but it seems like something about Tomcat has changed radically. I can't figure out how Tomcat knows what applications it can see and where they are. Does it have something to do with <Context/>?

Are you certain there is a file named exactly "index.html" in the root directory of the "test" webapp?


Note that Eclipse will be controlling the contents server.xml. If you copied the "test" webapp from "wtpwebapps" to "webapps" without making associated corrections to server.xml, such as removing the project from the server in Eclipse, then the copy under "webapps" was likely ignored.

Cheers,
Larry