Skip to main content
Jump to: navigation, search

Talk:Jetty/Feature/ContextProvider

Revision as of 17:49, 28 August 2012 by Mondgesicht.gmx.net (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)

Back to the top