The context root information are in two files, one is obvious and the one is obscure. However, both must be be sync. The not-so-obvious file is org.eclipse.wst.common.component under .settings folder under the web project. The obvious file is application.xml inside META-INF folder in the EAR project that contains the Web project.