Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


tomcat7 (3) Versions 0.1.0

Installs/Configures Tomcat

cookbook 'tomcat7', '= 0.1.0'
cookbook 'tomcat7', '= 0.1.0', :supermarket
knife cookbook site install tomcat7
knife cookbook site download tomcat7

tomcat Cookbook

This is a simple rehashing of the tomcat cookbook taking out a lot of the complicated things that don't work and aren't needed to make a simple deploy and a simple configuration with some new configuration options via libraries and valves.


Yum Based Linux (RHEL, Centos, Fedora, Amazon)


OpenJDK-1.7.0 Tomcat7



<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['tomcat']['port']</tt></td> <td>Int</td> <td>What port for tomcat to listen on</td> <td><tt>8080</tt></td> </tr> <tr> <td><tt>['tomcat']['proxy_port']</tt></td> <td>Int</td> <td>Tomcat Proxy Port</td> <td><tt>nil</tt></td> </tr> <tr> <td><tt>['tomcat']['max_threads']</tt></td> <td>Int</td> <td>Tomcat's Max Threads</td> <td><tt>nil</tt></td> </tr> <tr> <td><tt>['tomcat']['ssl_proxy_port']</tt></td> <td>Int</td> <td>Tomcat's SSL Proxy Port</td> <td><tt>nil</tt></td> </tr> <tr> <td><tt>['tomcat']['catalina_options']</tt></td> <td>String</td> <td>Tomcat's Catalina Options</td> <td><tt></tt></td> </tr> <tr> <td><tt>['tomcat']['java_options']</tt></td> <td>String</td> <td>Options to the JVM</td> <td><tt>-Xmx128M -Djava.awt.headless=true</tt></td> </tr> <tr> <td><tt>['tomcat']['nexus']</tt></td> <td>String</td> <td>URL of Nexus Server</td> <td><tt></tt></td> </tr> <tr> <td><tt>['tomcat']['extras']['jmx']</tt></td> <td>Boolean</td> <td>Add the JMX Jar to the tomcat bin</td> <td><tt>True</tt></td> </tr> <tr> <td><tt>['tomcat']['extras']['web']</tt></td> <td>Boolean</td> <td>Add the Web Services Jar to the tomcat bin</td> <td><tt>True</tt></td> </tr> <tr> <td><tt>['tomcat']['extras']['juli']</tt></td> <td>Boolean</td> <td>Add the Tomcat Juli to the tomcat bin</td> <td><tt>True</tt></td> </tr> <tr> <td><tt>['tomcat']['extras']['log4j']</tt></td> <td>Boolean</td> <td>Add the Juli adapter for log4j to the tomcat bin</td> <td><tt>True</tt></td> </tr> <tr> <td><tt>['tomcat']['valves']</tt></td> <td>List</td> <td>A list of Hashes describing valves to put into the server.xml</td> <td></td> </tr> <tr> <td><tt>['tomcat']['libs']</tt></td> <td>List</td> <td>A list of Hashes describing artifacts to retreive from Nexus for the Tomcat lib directory</td> <td></td> </tr> </table>



e.g. Just include tomcat in your node's run_list:

  "run_list": [


TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.

e.g. 1. Fork the repository on Github 2. Create a named feature branch (like add_component_x) 3. Write your change 4. Write tests for your change (if applicable) 5. Run the tests, ensuring they all pass 6. Submit a Pull Request using Github

License and Authors

Authors: Stephen Carman (

Dependent cookbooks

java >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


This file is used to list changes made in each version of the tomcat cookbook.


  • [your_name] - Initial release of tomcat

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Foodcritic Metric

0.1.0 failed this metric

FC024: Consider adding platform equivalents: /tmp/cook/617dc368cd0868858867ff6c/tomcat7/attributes/default.rb:52
FC024: Consider adding platform equivalents: /tmp/cook/617dc368cd0868858867ff6c/tomcat7/attributes/default.rb:68