title: How can I modify context.xml of Tomcat on aws opsworks?
body: <p>I want to add this code in /usr/share/tomcat7/conf/context.xml :</p>
  
  <pre><code>&lt;Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
     sticky="true"
     memcachedNodes="n1:&lt;%= node['redis']['host']%&gt;:&lt;%= node['redis']['port']%&gt;"
     requestUriIgnorePattern=".*.(ico|png|gif|jpg|css|js)$"
  /&gt;
  </code></pre>
  
  <p>I'm using Chef 11.4, I've created custom cookbook and modify /opsworks_java/templates/default/webapp_context.xml.erb</p>
  
  <p>But it doesnt work.
  It worked for other file: server.xml!</p>
  
  <p>How can i do that?</p>
  
  <p>thanks.</p>