Author: michiel
Date: 2010-07-29 13:22:02 +0200 (Thu, 29 Jul 2010)
New Revision: 43003

Modified:
   
mmbase/trunk/documentation/src/docbook/administrators/install_tomcat/index.xml
Log:
details

Modified: 
mmbase/trunk/documentation/src/docbook/administrators/install_tomcat/index.xml
===================================================================
--- 
mmbase/trunk/documentation/src/docbook/administrators/install_tomcat/index.xml  
    2010-07-29 11:17:12 UTC (rev 43002)
+++ 
mmbase/trunk/documentation/src/docbook/administrators/install_tomcat/index.xml  
    2010-07-29 11:22:02 UTC (rev 43003)
@@ -66,47 +66,32 @@
                        <programlisting id="server.xml"><![CDATA[
 <?xml version="1.0"?>
 <Server port="8889" shutdown="SHUTDOWN" debug="0">
-       <Service name="Tomcat-Standalone-MMBase">
-               <Connector
-                       port="8070"
-                       address="michiel.omroep.nl"
-                       minProcessors="5" maxProcessors="75"
-                       enableLookups="false"
-                       redirectPort="8443"
-                       acceptCount="10"
-                       debug="0"
-                       connectionTimeout="60000"
-                       proxyPort="80"
-                       proxyName="michiel.omroep.nl"
-               />
-               <Engine name="Standalone" defaultHost="localhost" debug="0">
-                       <Logger 
className="org.apache.catalina.logger.FileLogger"
-                               directory="log"
-                               prefix="catalina."
-                               suffix=".log"
-                               timestamp="true"
-                               />
-                       <Host name="localhost" debug="0" appBase="webapps" 
unpackWARs="true" autoDeploy="true">
-                               <Valve 
className="org.apache.catalina.valves.AccessLogValve"
-                                       directory="log"
-                                       prefix="access."
-                                       suffix=".log"
-                                       pattern="common"
-                               />
-                               <Logger 
className="org.apache.catalina.logger.FileLogger"
-                                       directory="log"
-                                       prefix="tomcat."
-                                       suffix=".log"
-                                       timestamp="false"
-                               />
-                               <Context path="/mm" 
docBase="/home/michiel/mmbase/1.6/mmbase/build/mmbase/mmbase-webapp" debug="0" 
allowLinking="true">
-                                       <Resource name="mail/Session" 
auth="Container" type="javax.mail.Session"/>
-                                       <ResourceParams name="mail/Session">
-                                               <parameter>
-                                                       
<name>mail.smtp.host</name>
-                                                       <value>localhost</value>
-                                               </parameter>
-                                       </ResourceParams>
+  <Service name="Tomcat-Standalone-MMBase">
+    <Connector port="8070"
+               protocol="HTTP/1.1"
+               maxThreads="3"
+               connectionTimeout="20000"
+               redirectPort="8443" />
+
+    <Engine name="Catalina" defaultHost="localhost" >
+
+      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
+             resourceName="UserDatabase" />
+      <Valve
+            className="org.apache.catalina.valves.AccessLogValve"
+            directory="logs"  prefix="catalina_access_log." suffix=".txt"
+            pattern="common"/>
+
+      <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" 
autoDeploy="true">
+
+        <Context path="/mm" docBase="/home/michiel/mmbase-webapp" debug="0" 
allowLinking="true">
+          <Resource name="mail/Session" auth="Container" 
type="javax.mail.Session"/>
+          <ResourceParams name="mail/Session">
+            <parameter>
+              <name>mail.smtp.host</name>
+              <value>localhost</value>
+            </parameter>
+          </ResourceParams>
           <Environment name="mmbase/mmbaseroot/database"   
value="mysql_with_views-binaryasfile" type="java.lang.String" />
           <Environment name="mmbase/mmbaseroot/basename"   value="views" 
type="java.lang.String" />
           <Resource name="jdbc/MMBase"
@@ -136,10 +121,10 @@
                                ....@meeuw.org
                         type="java.lang.String" />
 
-                               </Context>
-                       </Host>
-               </Engine>
-       </Service>
+        </Context>
+      </Host>
+    </Engine>
+  </Service>
 </Server>
 
 ]]></programlisting>
@@ -161,7 +146,7 @@
       See <ulink 
url="http://tomcat.apache.org/tomcat-6.0-doc/introduction.html";>Tomcat's 
documentation</ulink>
                </para>
     <para>
-      The example webapp of MMBase contains the mmbase 'email' module, which 
actuall needs a mail.jar to work. It is expected to be provided by the 
application server. Tomcat does not do that on default, you have to add it 
manually to the tomcat loader. This is also valid or you specific JDBC driver 
if you use it.
+      The example webapp of MMBase contains the mmbase 'email' module, which 
actuall needs a mail.jar to work. It is expected to be provided by the 
application server. Tomcat does not do that on default, you have to add it 
manually to the tomcat loader. This is also valid for you specific JDBC driver 
if you use it.
       See e.g <ulink 
url="http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html";>Tomcat's
 documentation about JDNI</ulink>
     </para>
        </section>

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to