You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2014/05/20 14:13:04 UTC

svn commit: r1596223 - /manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/how-to-build-and-deploy.xml

Author: kwright
Date: Tue May 20 12:13:03 2014
New Revision: 1596223

URL: http://svn.apache.org/r1596223
Log:
Update how-to-build-and-deploy to be more explicit about Tomcat deployments

Modified:
    manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/how-to-build-and-deploy.xml

Modified: manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/how-to-build-and-deploy.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/how-to-build-and-deploy.xml?rev=1596223&r1=1596222&r2=1596223&view=diff
==============================================================================
--- manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/how-to-build-and-deploy.xml (original)
+++ manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/how-to-build-and-deploy.xml Tue May 20 12:13:03 2014
@@ -474,6 +474,17 @@ cd example
           <p>The script that starts the combined-service web application uses the same database instance (Derby by default) as does the quick-start, and the same <em>properties.xml</em>
             file.  The same caveats about required individual connector processes also apply as they do for the quick-start example.</p>
           <p></p>
+
+          <section>
+            <title>Running single-process combined war example using Tomcat</title>
+            <p>In order to run the ManifoldCF single-process combined war example under Tomcat, you will need to take the following steps:</p>
+            <p></p>
+            <ol>
+              <li>Modify the Tomcat startup script, or use the Tomcat service administration client, to set a Java "-Dorg.apache.manifoldcf.configfile" switch to point to the example's <em>properties.xml</em> file.</li>
+              <li>Deploy and start the mcf-combined-service web application, preferably using the Tomcat administration client.</li>
+            </ol>
+          </section>
+
         </section>
 
         <section>
@@ -510,6 +521,19 @@ cd example
             <p></p>
           </section>
 
+          <section>
+            <title>Running multiprocess file-based example using Tomcat</title>
+            <p>In order to run the ManifoldCF multiprocess file-based example under Tomcat, you will need to take the following steps:</p>
+            <p></p>
+            <ol>
+              <li>Start the database (using <em>start-database[.sh|.bat]</em>)</li>
+              <li>Initialize the database (using <em>initialize[.sh|.bat]</em>)</li>
+              <li>Start the agents process (using <em>start-agents[.sh|.bat]</em>, and optionally <em>start-agents-2[.sh|.bat]</em>)</li>
+              <li>Modify the Tomcat startup script, or use the Tomcat service administration client, to set a Java "-Dorg.apache.manifoldcf.configfile" switch to point to the example's <em>properties.xml</em> file.</li>
+              <li>Deploy and start the mcf-crawler-ui, mcf-authority-service, and mcf-api-service web applications, preferably using the Tomcat administration client.</li>
+            </ol>
+          </section>
+
         </section>
 
         <section>
@@ -555,6 +579,21 @@ cd example
             <p></p>
           </section>
 
+          <section>
+            <title>Running multiprocess ZooKeeper example using Tomcat</title>
+            <p>In order to run the ManifoldCF ZooKeeper example under Tomcat, you will need to take the following steps:</p>
+            <p></p>
+            <ol>
+              <li>Start ZooKeeper (using the <em>runzookeeper[.sh|.bat]</em> script)</li>
+              <li>Initialize the ManifoldCF shared configuration data (using <em>setglobalproperties[.sh|.bat]</em>)</li>
+              <li>Start the database (using <em>start-database[.sh|.bat]</em>)</li>
+              <li>Initialize the database (using <em>initialize[.sh|.bat]</em>)</li>
+              <li>Start the agents process (using <em>start-agents[.sh|.bat]</em>, and optionally <em>start-agents-2[.sh|.bat]</em>)</li>
+              <li>Modify the Tomcat startup script, or use the Tomcat service administration client, to set a Java "-Dorg.apache.manifoldcf.configfile" switch to point to the example's <em>properties.xml</em> file.</li>
+              <li>Deploy and start the mcf-crawler-ui, mcf-authority-service, and mcf-api-service web applications, preferably using the Tomcat administration client.</li>
+            </ol>
+          </section>
+          
         </section>
 
         <section>
@@ -709,7 +748,6 @@ cd example
         </section>
       </section>
       
-      
       <section>
         <title>The <em>connectors.xml</em> configuration file</title>
         <p></p>