anchor.diff:                    unpackWARs="true" autoDeploy="true"
                     xmlValidation="false" xmlNamespaceAware="false">
   
  -                <!-- Before changing the context path for Stash, please read our documentation:
  -                     https://confluence.atlassian.com/x/5oCNEQ
  -
  -                     You will have to update scripts.cfg
  -                     AND rename webapps/ROOT directory. -->
  -
                   <Context docBase="${catalina.home}/atlassian-stash"
                            path="<%= @context_path %>"
                            reloadable="false"
                            useHttpOnly="true"/>
   
  -                <!-- SingleSignOn valve, share authentication between web applications
  -                     Documentation at: /docs/config/valve.html -->
  -                <!--
  -                <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
  -                -->
  -
  -                <!-- Access log processes all example.
  -                     Documentation at: /docs/config/valve.html
  -                     Note: The pattern used is equivalent to using pattern="common" -->
  -                <!--
  -                <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
  -                       prefix="localhost_access_log" suffix=".txt"
  -                       pattern="%h %l %u %t &quot;%r&quot; %s %b" />
  -                -->
               </Host>
           </Engine>
       </Service>
  
positive.code: <% end -%>
          />
  
          <!-- A "Connector" using the shared thread pool-->
          <!--
          <Connector executor="tomcatThreadPool"
                     port="7990" protocol="HTTP/1.1"
                     connectionTimeout="20000"
                     redirectPort="8443" />
          -->
          <!-- Define a SSL HTTP/1.1 Connector on port 8443
               This connector uses the NIO implementation that requires the JSSE
               style configuration. When using the APR/native implementation, the
               OpenSSL style configuration is required as described in the APR/native
               documentation -->
          <!--
          <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
                     maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
                     clientAuth="false" sslProtocol="TLS" />
          -->
  
  
          <!-- An Engine represents the entry point (within Catalina) that processes
               every request.  The Engine implementation for Tomcat stand alone
               analyzes the HTTP headers included with the request, and passes them
               on to the appropriate Host (virtual host).
               Documentation at /docs/config/engine.html -->
  
          <!-- You should set jvmRoute to support load-balancing via AJP ie :
          <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
          -->
          <Engine name="Catalina" defaultHost="localhost">
  
              <!-- For clustering, please take a look at documentation at:
                   /docs/cluster-howto.html  (simple how to)
                   /docs/config/cluster.html (reference documentation) -->
              <!--
              <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
              -->
  
              <!-- Use the LockOutRealm to prevent attempts to guess user passwords
                   via a brute-force attack -->
              <Realm className="org.apache.catalina.realm.LockOutRealm">
                  <!-- This Realm uses the UserDatabase configured in the global JNDI
                       resources under the key "UserDatabase".  Any edits
                       that are performed against this UserDatabase are immediately
                       available for use by the Realm.  -->
                  <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                         resourceName="UserDatabase"/>
              </Realm>
  
negative.code:   See the License for the specific language governing permissions and
    limitations under the License.
  -->
  <Server port="8006" shutdown="SHUTDOWN">
     <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
      <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  
      <GlobalNamingResources>
          <Resource name="UserDatabase" auth="Container"
                    type="org.apache.catalina.UserDatabase"
                    description="User database that can be updated and saved"
  