On 05/05/2013 16:56, Jesse Barnum wrote: > I thought that the purpose of having <Parameter> elements in the > context.xml file was so that end users and server administrators > could easily customize the application behavior of a deployed > application.
Correct. > If that's true, then why is the context.xml file no longer extracted > in Tomcat 7? Leaving it in the application directory means that it's > going to be overwritten (losing those customizations) every time the > server admin redeploys my application, right? Doesn't that seem like > a bad idea? Am I missing something? Not everyone agrees with that view: http://tomcat.markmail.org/thread/snyk3c23zurz5lnq > I know that I write a set of instructions for my customers to modify > their server.xml and add the copyXML attribute to revert back to > Tomcat 6 behavior, but why? Why not leave the default behavior the > way it was before, so that context.xml files can be customized > separately from the deployed application? I couldn't find any bug > report / RFE in the Tomcat bug database explaining why this change > was necessary or beneficial. http://tomcat.markmail.org/thread/snyk3c23zurz5lnq https://issues.apache.org/bugzilla/show_bug.cgi?id=48662 There is also an outstanding question of whether extracted context.xml files are handled correctly. http://tomcat.markmail.org/thread/yhmn6rmuv74jfhzc Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org