tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanfrancois Arcand <jfarc...@apache.org>
Subject Re: Minimal server.xml
Date Tue, 02 Dec 2003 17:29:08 GMT
+1

You can also remove the xmlValidation="false" xmlNamespaceAware="false", 
since they are optionals.

-- Jeanfrancois


Shapira, Yoav wrote:

>Hi,
>IMHO the server.xml that comes with tomcat by default
>($CATALINA_HOME/conf/server.xml) is nice in that it provides many
>comments and examples.  But I think power users would appreciate a
>minimal version as well, so I've created one, as shown below.  Should we
>distribute something like this, perhaps as
>$CATALINA_HOME/conf/server-minimal.xml?
>
><Server port="8005" shutdown="SHUTDOWN" debug="0">
>  <Service name="Catalina">
>    <Connector port="8080"
>               maxThreads="150" minSpareThreads="1" maxSpareThreads="75"
>               enableLookups="false" redirectPort="8443"
>acceptCount="100"
>               debug="0" connectionTimeout="20000" 
>               disableUploadTimeout="true" />
>
>    <Engine name="Catalina" defaultHost="localhost" debug="0">
>      <Logger className="org.apache.catalina.logger.FileLogger"
>              prefix="catalina_log." suffix=".txt"
>              timestamp="true"/>
>
>      <Host name="localhost" debug="0" appBase="webapps"
>       unpackWARs="true" autoDeploy="true"
>       xmlValidation="false" xmlNamespaceAware="false">
>        <Logger className="org.apache.catalina.logger.FileLogger"
>                 directory="logs"  prefix="localhost_log." suffix=".txt"
>            timestamp="true"/>
>
>      </Host>
>
>    </Engine>
>
>  </Service>
>
></Server>
>
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>
>
>
>This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged.  This e-mail
is intended only for the individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message