Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Talk:Jetty/Feature/ContextProvider

What happens if there is a deployment collision caused by a ContextProvider and a WebAppProvider both used simultaneously and both deploying the same web application? For example, this situation occurs in the standard Jetty distribution with webapps/test.war, contexts/test.xml in conjunction with etc/jetty-webapps.xml and etc/jetty-contexts.xml. --Abdull 21:40, 28 August 2012 (UTC)

Article Jetty/Feature/WebAppProvider gives an answer: [...] The contextXmlDir points to a directory like that the ContextProvider uses. When you use this option the WebappProvider checks any webapp or WAR files in the monitored directory for an associated context file. If it finds one, it defers to the ContextProvider to deploy the webapp. If it does not find a context file, the WebAppProvider deploys the webapp. [...] . --Abdull 21:49, 28 August 2012 (UTC)

Copyright © Eclipse Foundation, Inc. All Rights Reserved.