Snarf
The Cosmo WAR bundled with Snarf is named simply
chandler.war. This causes Tomcat to create
$OSAFSRV_HOME/tomcat/conf/Catalina/localhost/chandler.xml based on the WAR's
context.xml and. Snarf includes a stripped-down
server.xml.
This is what the Snarf
server.xml file looks like (comments stripped):
<Server port="8005" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector port="8080" enableLookups="false"
minSpareThreads="4" maxSpareThreads="50"
maxThreads="200" URIEncoding="UTF-8" />
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps" autoDeploy="false"
deployOnStartup="true" />
</Engine>
</Service>
</Server>
TODO: since the access logging valve was moved to
context.xml, there is no access log for the root web application (the Snarf welcome page). If one is desired, we can add a
context.xml to the root webapp with a separate access log, or we can add one at the host level (although this would duplicate all of the accesses recorded by the Cosmo valve).