You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by bu...@apache.org on 2012/03/27 10:01:41 UTC

svn commit: r810201 - in /websites/staging/rave/trunk/content: ./ documentation/host-configuration.html

Author: buildbot
Date: Tue Mar 27 08:01:41 2012
New Revision: 810201

Log:
Staging update by buildbot for rave

Modified:
    websites/staging/rave/trunk/content/   (props changed)
    websites/staging/rave/trunk/content/documentation/host-configuration.html

Propchange: websites/staging/rave/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Mar 27 08:01:41 2012
@@ -1 +1 @@
-1305743
+1305767

Modified: websites/staging/rave/trunk/content/documentation/host-configuration.html
==============================================================================
--- websites/staging/rave/trunk/content/documentation/host-configuration.html (original)
+++ websites/staging/rave/trunk/content/documentation/host-configuration.html Tue Mar 27 08:01:41 2012
@@ -94,6 +94,28 @@
 </li>
 </ul>
 <p>Note: Although <code>shindig.host</code>, <code>shindig.port</code> and <code>shindig.contextroot</code> can also be overridden by setting them as individual system properties, <code>container.js</code> contains hard coded values with <code>localhost</code></p>
+<h2 id="setting-the-system-properties">Setting the system properties</h2>
+<h3 id="running-cargo">Running Cargo</h3>
+<p>The Cargo Maven plugin is configured in <code>rave-portal/pom.xml</code>. Go to the element <code>systemProperties</code> and enable the elements
+<code>portal.override.properties</code> and <code>rave-shindig.override.properties</code> (also modify its paths).</p>
+<div class="codehilite"><pre><span class="nt">&lt;systemProperties&gt;</span>
+    <span class="nt">&lt;net.sf.ehcache.skipUpdateCheck&gt;</span>true<span class="nt">&lt;/net.sf.ehcache.skipUpdateCheck&gt;</span>
+    <span class="nt">&lt;portal.override.properties&gt;</span>/path/to/custom.portal.properties<span class="nt">&lt;/portal.override.properties&gt;</span>
+    <span class="nt">&lt;rave-shindig.override.properties&gt;</span>/path/to/custom.shindig.properties<span class="nt">&lt;/rave-shindig.override.properties&gt;</span>
+<span class="nt">&lt;/systemProperties&gt;</span>
+</pre></div>
+
+
+<h3 id="running-a-stand-alone-tomcat-server">Running a stand alone Tomcat server</h3>
+<p>A common location to set the system properties is in tomcat/bin/setenv.sh. Add a variable <code>RAVE_OPTS</code></p>
+<div class="codehilite"><pre><span class="n">RAVE_OPTS</span><span class="o">=</span><span class="s">&quot;-Dportal.override.properties=/path/to/custom.portal.properties</span>
+<span class="s">           -Drave-shindig.override.properties=/path/to/custom.rave.shindig.properties&quot;</span>
+</pre></div>
+
+
+<p>Then add it to the <code>CATALINA_OPTS</code> variable</p>
+<div class="codehilite"><pre>CATALINA_OPTS=&quot;<span class="cp">${</span><span class="n">CATALINA_OPTS</span><span class="cp">}</span> <span class="cp">${</span><span class="n">RAVE_OPTS</span><span class="cp">}</span>&quot;
+</pre></div>
   </div>
 
   <div id="footer">