[chef] tomcat server.xml / tomee tomee.xml per-app configuration


Chronological Thread 
  • From: Jesse Campbell < >
  • To: chef < >
  • Subject: [chef] tomcat server.xml / tomee tomee.xml per-app configuration
  • Date: Thu, 14 Feb 2013 17:33:50 -0500

hello!

so i just got a new deployment project for a big tomee application, and in tomee, things like the datasource must be configured in tomee.xml (which is like the server.xml from tomcat)

so... if i want to have two apps each with a separate datasource, i have to find some way to inject the datasource information into the tomee.xml for both.

i want to have a generic tomee cookbook (which will be almost identical to the tomcat cookbook), then i want to have separate application cookbooks.

when i add both to the same machine, i want both of their datasources to show up in tomee.xml, and when just one is there, just one should show up...

so...

any ideas?



Archive powered by MHonArc 2.6.16.

§