r4 - 12 Dec 2007 - 13:05:34 - BrianMoseleyYou are here: OSAF >  Journal Web  >  ContributorNotes > BrianMoseleyNotes > CosmoWarAutoDeployment

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).

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.