templates/tomcat/tomcat_data_source.xml.erb
<Resource name="<%= @name %>" auth="Container"
type="<%= @type %>" driverClassName="<%= @jdbc_driver %>"
url="<%= @jdbc_url %>"
username="<%= @username %>" password="<%= @password %>"
maxTotal="<%= @max_conn %>" minIdle="<%= @min_idle_conn %>"
maxIdle="<%= @max_idle_conn %>" />