On 17/05/2010 17:33, peter_f...@blm.gov wrote: > Mark Thomas <ma...@apache.org> wrote on 05/17/2010 10:12:20 AM: >> Not pointless. It limits deployed apps to *only* those defined in >> server.xml. > > Ok - so if I want my app to start I have to place the context element in > server.xml. I would have thought that an external context.xml would have > the same effect (I thought that was the point) but I'm not seeing that > happen; maybe got something wrong in that file.
No. context.xml files are deployed via the auto-deploy process so they need deployOnStartup or autoDeploy to be true. When I wrote "*only* those defined in server.xml" that is exactly what I meant. >> That is plain wrong. autoDeployment /deployOnStartup do play a role in >> double-deployment but only when your configuration is wrong to start > with. > > Well, I guess I'll just have to be careful with my configuration :) > (seriously, unless I missed it in the documentation it wasn't clear on > double-deployment as a consequence of bad config.) Explicit definition in server.xml + autoDeploy == double deployment. I'll add a few words to the docs to try and clarify that. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org