[chef] Using `artifact` cookbook with Tomcat


Chronological Thread 
  • From: Mark Nichols < >
  • To: Opscode < >
  • Subject: [chef] Using `artifact` cookbook with Tomcat
  • Date: Sun, 15 Feb 2015 16:18:20 -0600

I’m using the `artifact` cookbook (https://supermarket.chef.io/cookbooks/artifact<https://supermarket.chef.io/cookbooks/artifact>) to deploy Tomcat applications. The resulting directory structure looks a bit like this:

../webapps
  /foo
    /current -> /var/lib/tomcat7/webapps/releases/1.0
   /releases
     /1.0
       ….

So far I have been unable to find the right set of server.xml and foo.xml (context) settings to get Tomcat to recognize that the app isn’t under `/webapps/foo` but rather is under `/webapps/foo/current`

Is anyone else using the artifact cookbook to deploy Tomcat wars, and if so, how are you configuring your host `appbase`, context `path` and context `docbase`?

Thanks,
Mark



Archive powered by MHonArc 2.6.16.

§