Deploying Java Applications With Puppet and TomCat
Deploying Java applications in an automated way does not need to be a complex endeavor, nor does it need special software to interact with the Java application servers. Read our article on tomcatexpert.com — showing you both how to deploy WAR files with Puppet, and also how to manage Apache Tomcat itself.
2 Comments
Nice article – just wondered if you’d seen:
http://blogs.mulesoft.org/including-files-into-tomcats-server-xml-using-xml-entity-includes/
(uses xml entity includes in server.xml). I haven’t tried it with things like JBoss or Glassfish, but see no reason why it wouldn’t apply to them too.
It would be very interesting to see how this could be combined with Puppet templates for more fine-grained appl server configuration.
That would definitely be easily doable. Check out the doc site here: http://docs.puppetlabs.com/guides/templating.html
(It would be even cooler if they had a conf.d style directory that didn’t require mentioning the include, so that resources could easily update that part of the file. We have ways of doing that though, such as “File Fragments”, where we could construct the main server.xml file from fragments)