I've worked on many web applications deployed to various app servers, and so far haven't really found an ideal way to push out changes to server configuration files that fall outside the ears, wars, jars or whatever, which we deploy through the normal build process.
JBoss, in particular, has dozens of XML files distributed throughout server/default/conf and server/default/deploy that can be tweaked to enable features and improve performance. At the moment we just push these out to the other developers on an
ad hoc, which, even though it's rarely necessary, is still a big PITA.
I'm interested how others are handling it. Do you put the entire server/default/deploy (less your deployed artifacts) and server/default/conf directories into source control, or just XML files, or just files that vary from the default distro?