Steve Loughran wrote: > Bill de hOra wrote: >> Hi, >> >> I have a scenario for a small tomcat cluster; a setup where properties >> files are placed under version control, can get pushed out separately >> from code drops and can be changed separately from code drops >> (properties are managed in a cmdb, code in a vcs). There are multiple >> webapps, each with their own config (eg 4 app servers, 5 gateways, 3 >> seach nodes, ...) Fwiw, this setup isn't already using smartfrog to >> deploy the webapps. >> >> I'm wondering if this is a good problem for smartfrog to solve, or if >> anyone here is doing something like this. I have fair idea what it can >> do for configurations of components but not for configuration inside >> components. >> >> I've been thinking about some alternate approaches, ranging from plain >> old scp, jmx, agents updating from central version control, push from >> distributed version control. All of which have specific problems, with >> two notable common ones; a) it'll end being a dedicated subsystem >> that only does properties config and yet another thing to manage, b) >> you have to think about what happens when the webapps are upgraded and >> possibly overwrite the properties files. >> >> Thoughts? >> >> cheers >> Bill >> > > Bill, > > I'm just back from my travels and am too jet-lagged to come up with a > decent answer right now. give me a couple of days and I'll get some > suggestions in as to how best to do this. > > 1. Where do you want the properties files? in the WAR/expanded WAR > itself, or somewhere else in the filesystem?
Hi Steve, Tbh, the more I think about it*, outside the WAR/exploded and add that to the classpath, but to start with into the exploded (WEB-INF/classes) would do; I can worry about how to deal with lost updates (when the WAR is redeployed) later. > 2. what kind of CMDB are you thinking of? A custom webapp built on top of a vcs (eg subversion/mercurial); CMDBs I've looked at seem to do everything except configuration management. Either way I'd like to split publishing of these files from their management. So in theory I can start with just some files in a folder and push those. cheers Bill * Since writing the first post, I'm starting to conclude that war/ear model is just busted. But I figure the Java world must have solved this problem at some point. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Smartfrog-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smartfrog-users
