Skip to content

Commit

Permalink
[COOK-4209] - Remove "Host element/XML Validation" in tomcat 7 and above
Browse files Browse the repository at this point in the history
Signed-off-by: Sean OMeara <[email protected]>
  • Loading branch information
Ishtiaq Ahmed authored and Sean OMeara committed Mar 19, 2014
1 parent 49a7e11 commit c2c3462
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/default/server.xml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@
-->
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<% if node['tomcat']['base_version'].to_i < 7 -%>
xmlValidation="false" xmlNamespaceAware="false"
<% end -%>
>

<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
Expand Down

0 comments on commit c2c3462

Please sign in to comment.