rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r817279 - in /websites/staging/rave/trunk/content: ./ documentation/application-containers.html
Date Fri, 11 May 2012 19:56:55 GMT
Author: buildbot
Date: Fri May 11 19:56:55 2012
New Revision: 817279

Log:
Staging update by buildbot for rave

Added:
    websites/staging/rave/trunk/content/documentation/application-containers.html
Modified:
    websites/staging/rave/trunk/content/   (props changed)

Propchange: websites/staging/rave/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri May 11 19:56:55 2012
@@ -1 +1 @@
-1336235
+1337349

Added: websites/staging/rave/trunk/content/documentation/application-containers.html
==============================================================================
--- websites/staging/rave/trunk/content/documentation/application-containers.html (added)
+++ websites/staging/rave/trunk/content/documentation/application-containers.html Fri May
11 19:56:55 2012
@@ -0,0 +1,120 @@
+<!doctype html>
+<html>
+<head>
+  <meta charset="UTF-8"/>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <link rel="shortcut icon" href="/images/RAVE-favicon.ico" type="image/x-icon"/>
+  <link rel="stylesheet" href="//www.google.com/cse/style/look/default.css"/>
+  <link href="/css/rave.css" rel="stylesheet"/>
+  <title>Application containers</title>
+</head>
+
+<body>
+  <div id="banner">
+    <img id="logo" alt="Apache Rave" src="/images/RAVE-logo_main-logo-small.png"/>
+  </div>
+  
+  <div id="navigation">
+    <div id="cse-search-form">Loading <!-- Placeholder for Google Search Form --></div>
+  <h1 id="general">General</h1>
+<ul>
+<li><a href="/index.html">About</a></li>
+<li><a href="/documentation/index.html">Documentation</a></li>
+<li><a href="/downloads.html">Downloads</a></li>
+<li><a href="/license.html">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="/get-involved.html">Get Involved</a></li>
+<li><a href="/mailing-lists.html">Mailing Lists</a></li>
+<li><a href="/people.html">People</a></li>
+<li><a href="http://wiki.apache.org/rave/">Wiki</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="/source.html">Getting Started</a></li>
+<li><a href="/ide-settings-and-debugging.html">IDE Settings and debugging</a></li>
+<li><a href="/release-management.html">Release Management</a></li>
+<li><a href="/issue-management.html">Issue Tracker</a></li>
+<li><a href="https://builds.apache.org/hudson/view/M-R/view/Rave/">Continuous
Integration</a></li>
+<li><a href="https://analysis.apache.org/dashboard/index/58996">Sonar Dashboard</a></li>
+<li><a href="/edit-website.html">Website</a></li>
+</ul>
+<h1 id="asf">ASF</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+<li><a href="http://www.apache.org/security/">Security</a></li>
+</ul>
+  </div>
+
+  <div id="content">
+    <h1 class="title">Application containers</h1>
+    <p>The default distribution of Apache Rave contains Apache Tomcat as application
server. 
+For local development the Maven Cargo plugin is configured to use Tomcat 6. Apache Rave should
work with other application containers as well, but sometimes extra configuration is necessary.</p>
+<h2 id="apache-tomcat-7">Apache Tomcat 7</h2>
+<p>No changes are needed for Tomcat 7</p>
+<h2 id="jetty-6">Jetty 6</h2>
+<h3 id="wzxhzdk1wzxhzdk2welcome-page-redirect"><a id="jetty-welcome-page"></a>Welcome
page redirect</h3>
+<p>Apache Rave works with Jetty 7, but extra configuration is needed to redirect the
user from http://localhost:8080 to the login page on http://localhost:8080/portal/login.
+By default Jetty <a href="http://docs.codehaus.org/display/JETTY/Welcome+files+not+working">uses
the <code>JspServlet</code></a> for the welcome page, Apache Rave uses <code>org.springframework.web.servlet.DispatcherServlet</code>
from the Spring Framework. </p>
+<p>In order to let Jetty use the DispatcherServlet:</p>
+<ul>
+<li>Modify the <code>webdefault.xml</code></li>
+<li>Go to entry for the servlet org.eclipse.jetty.servlet.DefaultServlet</li>
+<li>Change the value of the init parameter <code>welcomeServlets</code>
to <code>true</code>.</li>
+</ul>
+<h3 id="root-context-for-apache-shindig">Root context for Apache Shindig</h3>
+<p>The OpenSocial container (Apache Shindig) runs under the root context. In Jetty
6 extra configuration is needed for the root context.</p>
+<p>Add a <code>root.xml</code> to the contexts folder which will have a
simple context defined for Shindig with the following entries:</p>
+<div class="codehilite"><pre><span class="nt">&lt;Set</span>
<span class="na">name=</span><span class="s">&quot;contextPath&quot;</span><span
class="nt">&gt;</span>/<span class="nt">&lt;/Set&gt;</span>
+<span class="nt">&lt;Set</span> <span class="na">name=</span><span
class="s">&quot;war&quot;</span><span class="nt">&gt;&lt;SystemProperty</span>
<span class="na">name=</span><span class="s">&quot;jetty.home&quot;</span>
<span class="na">default=</span><span class="s">&quot;.&quot;</span><span
class="nt">/&gt;</span>/webapps/root<span class="nt">&lt;/Set&gt;</span>
+</pre></div>
+
+
+<h2 id="jetty-7">Jetty 7</h2>
+<p>The <a href="#jetty-welcome-page">Welcome page redirect</a> configuration
is also needed for Jetty 7. Jetty 7 does not need the extra configuration for the root context.</p>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2012 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.
+        <br />
+        Apache Rave, Apache, the Apache feather logo, and the Apache Rave project logos are
trademarks of The Apache Software Foundation.
+        All other marks mentioned may be trademarks or registered trademarks of their respective
owners.
+      </p>
+    </div>
+  </div>
+  <script src="//www.google.com/jsapi"></script>
+  <script>
+    google.load('search', '1', {language : 'en'});
+    google.setOnLoadCallback(function() {
+      var customSearchOptions = {};  var customSearchControl = new google.search.CustomSearchControl(
+        '009412755592933514871:wrsgblows4o', customSearchOptions);
+      customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
+      var options = new google.search.DrawOptions();
+      options.enableSearchboxOnly("http://www.google.com/cse?cx=009412755592933514871:wrsgblows4o");
+      customSearchControl.draw('cse-search-form', options);
+    }, true);
+  </script>
+</body>
+</html>



Mime
View raw message