Eclipse WTP and renaming context root
I am using Eclipse WTP now for about two years and I am very satisfied with its features. But the version 1.5.2 which I used over the last year still has some problems.
Yesterday I migrated an old application that was tested with the Sysdeo Tomcat plugin to WTP by making a Dynamic Web Project and moving the source folder inside the CVS repository. Everything worked fine except the fact that every time I started the Tomcat test server the application was loaded twice.
I found out that the reason for this behavior was that I renamed the Context Root under Web Project Settings in the project properties dialog.
To be able to access the application under a different name than the project name you have to rename deploy-name inside the org.eclipse.wst.common.component file too. With WTP 2.0 and Eclipse 3.3 RC3 it is enough to rename the Context Root.





Had the same problem. Lucky your blog came up top on google search.
Your blog is monster, will read it more often.
Thx a lot.
thanks for your comments, these are the ones I blog for
This post really helped me out. I switched from MyEclipse to Eclipse Europa 3.3.2 and had the same problem. Thanks for taking the time to put this up.