You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2022/07/07 09:57:07 UTC

svn commit: r1902519 [19/27] - in /jackrabbit/site/live/jcr: ./ components/ css/ fonts/ js/ ocm/ status/

Modified: jackrabbit/site/live/jcr/repository-lifecycle.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/repository-lifecycle.html?rev=1902519&r1=1902518&r2=1902519&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/repository-lifecycle.html (original)
+++ jackrabbit/site/live/jcr/repository-lifecycle.html Thu Jul  7 09:57:06 2022
@@ -1,40 +1,42 @@
 <!DOCTYPE html>
-
-
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/repository-lifecycle.md at 2022-07-05
- | Rendered using Apache Maven Fluido Skin 1.11.1
+ | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src\site\markdown/repository-lifecycle.md at 2022-05-09
+ | Rendered using Apache Maven Fluido Skin 1.9
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
     <title>Apache Jackrabbit &#x2013; Repository lifecycle</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.min.css" />
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
     <link rel="stylesheet" href="./css/site.css" />
     <link rel="stylesheet" href="./css/print.css" media="print" />
-    <script src="./js/apache-maven-fluido-1.11.1.min.js"></script>
-
-    <!-- Matomo -->
-    <script>
-        var _paq = window._paq = window._paq || [];
-                _paq.push(['disableCookies']);
-                    _paq.push(['trackPageView']);
-                    _paq.push(['enableLinkTracking']);
-        
-        (function() {
-            var u="https://analytics.apache.org";
-            _paq.push(['setTrackerUrl', u+'/matomo.php']);
-            _paq.push(['setSiteId', '4']);
-            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
-            g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
-        })();
-    </script>
-    <!-- End Matomo Code -->
+    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+<!-- Matomo -->
+<script>
+  var _paq = window._paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  /* We explicitly disable cookie tracking to avoid privacy issues */
+  _paq.push(['disableCookies']);
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="https://matomo.privacy.apache.org/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '4']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
   </head>
   <body class="topBarEnabled">
-    <a class="github-fork-ribbon right-top" href="https://github.com/apache/jackrabbit" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
+    <a href="https://github.com/apache/jackrabbit">
+      <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
+        src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
+        alt="Fork me on GitHub">
+    </a>
     <header id="topbar" class="navbar navbar-fixed-top ">
       <div class="navbar-inner">
         <div class="container-fluid">
@@ -47,7 +49,7 @@
 </a>
             <ul class="nav">
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="index.html" title="Welcome">Welcome</a></li>
             <li><a href="downloads.html" title="Downloads">Downloads</a></li>
@@ -58,7 +60,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="getting-started-with-apache-jackrabbit.html" title="Getting Started">Getting Started</a></li>
             <li><a href="standalone-server.html" title="Standalone Server">Standalone Server</a></li>
@@ -73,7 +75,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="jackrabbit-team.html" title="Jackrabbit Team">Jackrabbit Team</a></li>
             <li><a href="jackrabbit-roadmap.html" title="Jackrabbit Roadmap">Jackrabbit Roadmap</a></li>
@@ -88,7 +90,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="https://www.apache.org/foundation/how-it-works.html" title="Introduction">Introduction</a></li>
             <li><a href="https://www.apache.org/foundation/sponsorship.html" title="Sponsorship">Sponsorship</a></li>
@@ -103,7 +105,7 @@
     <div class="container-fluid">
       <header>
         <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h1>Apache Jackrabbit Site</h1>
+          <div class="pull-left"><div id="bannerLeft"><h2>Apache Jackrabbit Site</h2>
 </div>
 </div>
           <div class="pull-right"></div>
@@ -112,7 +114,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-07-05</li>
+        <li id="publishDate">Last Published: 2022-05-09</li>
           </ul>
         </div>
       </header>
@@ -157,6 +159,7 @@
   </ul>
           </nav>
           <div class="well sidebar-nav">
+            <hr />
             <div id="poweredBy">
               <div class="clear"></div>
               <div class="clear"></div>
@@ -183,29 +186,14 @@
    limitations under the License.
 -->
 <h1>Repository lifecycle</h1>
-<p>The lifecycle of any Jackrabbit Content Repository starts with a call to
-one of the <code>RepositoryFactory.create()</code> methods passing optionally the source
-of a repository configuration file (which by convention is called
-<code>config.xml</code>) and the <code>RepositoryFactoryHome</code>, which points to a directory from
-which the Repository will continue reading further information for start-up
-and in many cases will store the actual data that is persisted in the
-repository and its workspaces.</p>
-<p>Not supplying the <code>RepositoryFactoryHome</code> will default to the users home dir
-from the System property user.dir.</p>
-<p>Not supplying the configuration file parameter will default to the value of
-Repository.factory.config System Property and if that is not set it will
-default to the config.xml in the RepositoryFactoryHome.</p>
-<p>Calling the <code>create()</code> method will instantiate the <code>RepositoryFactory</code>
-singleton that will then, through the <code>getRepository(String name)</code> method,
-serve as the factory for Repository instances.</p>
-<p>As per the <code>config.xml</code> a repository are started up with the respectively
-configured <code>RepositoryStore</code>, the <code>RepositoryStore</code> defines where the
-repository stores information that is visible for the entire Repository
-which includes things like the uuid of the root node, repository
-properties, the namespace registry, node type definitions or the version
-backing store in a file structure as follows.</p>
+<p>The lifecycle of any Jackrabbit Content Repository starts with a call to one of the <code>RepositoryFactory.create()</code> methods passing optionally the source of a repository configuration file (which by convention is called <code>config.xml</code>) and the <code>RepositoryFactoryHome</code>, which points to a directory from which the Repository will continue reading further information for start-up and in many cases will store the actual data that is persisted in the repository and its workspaces.</p>
+<p>Not supplying the <code>RepositoryFactoryHome</code> will default to the users home dir from the System property user.dir.</p>
+<p>Not supplying the configuration file parameter will default to the value of Repository.factory.config System Property and if that is not set it will default to the config.xml in the RepositoryFactoryHome.</p>
+<p>Calling the <code>create()</code> method will instantiate the <code>RepositoryFactory</code> singleton that will then, through the <code>getRepository(String name)</code> method, serve as the factory for Repository instances.</p>
+<p>As per the <code>config.xml</code> a repository are started up with the respectively configured <code>RepositoryStore</code>, the <code>RepositoryStore</code> defines where the repository stores information that is visible for the entire Repository which includes things like the uuid of the root node, repository properties, the namespace registry, node type definitions or the version backing store in a file structure as follows.</p>
 
-<div class="source"><pre class="prettyprint linenums"><code>./meta:
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">./meta:
   rep.properties
   rootUUID
 
@@ -216,11 +204,9 @@ backing store in a file structure as fol
   custom_nodetypes.xml
 
 ./versions:
-</code></pre></div>
-<p>The <code>RepositoryStore</code> normally points to a regular (i.e. local) file system
-but is abstracted through an abstract FileSystem that can be configured to
-point to a different FileSystem implementation, in case the above
-information should be stored in a different data container.</p>
+</pre></div></div>
+
+<p>The <code>RepositoryStore</code> normally points to a regular (i.e. local) file system but is abstracted through an abstract FileSystem that can be configured to point to a different FileSystem implementation, in case the above information should be stored in a different data container.</p>
 <p>&#x2026; to be continued &#x2026;</p>
         </main>
       </div>
@@ -233,12 +219,10 @@ information should be stored in a differ
 <a href="https://www.apache.org/">The Apache Software Foundation</a> &vert; <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a>
 </p>
         </div>
-      </div>
+    <div id="ohloh" class="pull-right">
+      <script src="https://www.ohloh.net/p/jackrabbit/widgets/project_users_logo.js"></script>
+    </div>
+        </div>
     </footer>
-<script>
-	if(anchors) {
-	  anchors.add();
-	}
-</script>
   </body>
 </html>
\ No newline at end of file

Modified: jackrabbit/site/live/jcr/repository-server-howto.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/repository-server-howto.html?rev=1902519&r1=1902518&r2=1902519&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/repository-server-howto.html (original)
+++ jackrabbit/site/live/jcr/repository-server-howto.html Thu Jul  7 09:57:06 2022
@@ -1,40 +1,42 @@
 <!DOCTYPE html>
-
-
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/repository-server-howto.md at 2022-07-05
- | Rendered using Apache Maven Fluido Skin 1.11.1
+ | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src\site\markdown/repository-server-howto.md at 2022-05-09
+ | Rendered using Apache Maven Fluido Skin 1.9
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
     <title>Apache Jackrabbit &#x2013; Repository Server HOWTO</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.min.css" />
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
     <link rel="stylesheet" href="./css/site.css" />
     <link rel="stylesheet" href="./css/print.css" media="print" />
-    <script src="./js/apache-maven-fluido-1.11.1.min.js"></script>
-
-    <!-- Matomo -->
-    <script>
-        var _paq = window._paq = window._paq || [];
-                _paq.push(['disableCookies']);
-                    _paq.push(['trackPageView']);
-                    _paq.push(['enableLinkTracking']);
-        
-        (function() {
-            var u="https://analytics.apache.org";
-            _paq.push(['setTrackerUrl', u+'/matomo.php']);
-            _paq.push(['setSiteId', '4']);
-            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
-            g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
-        })();
-    </script>
-    <!-- End Matomo Code -->
+    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
+<!-- Matomo -->
+<script>
+  var _paq = window._paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  /* We explicitly disable cookie tracking to avoid privacy issues */
+  _paq.push(['disableCookies']);
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="https://matomo.privacy.apache.org/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '4']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
   </head>
   <body class="topBarEnabled">
-    <a class="github-fork-ribbon right-top" href="https://github.com/apache/jackrabbit" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
+    <a href="https://github.com/apache/jackrabbit">
+      <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
+        src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
+        alt="Fork me on GitHub">
+    </a>
     <header id="topbar" class="navbar navbar-fixed-top ">
       <div class="navbar-inner">
         <div class="container-fluid">
@@ -47,7 +49,7 @@
 </a>
             <ul class="nav">
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="index.html" title="Welcome">Welcome</a></li>
             <li><a href="downloads.html" title="Downloads">Downloads</a></li>
@@ -58,7 +60,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="getting-started-with-apache-jackrabbit.html" title="Getting Started">Getting Started</a></li>
             <li><a href="standalone-server.html" title="Standalone Server">Standalone Server</a></li>
@@ -73,7 +75,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="jackrabbit-team.html" title="Jackrabbit Team">Jackrabbit Team</a></li>
             <li><a href="jackrabbit-roadmap.html" title="Jackrabbit Roadmap">Jackrabbit Roadmap</a></li>
@@ -88,7 +90,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="https://www.apache.org/foundation/how-it-works.html" title="Introduction">Introduction</a></li>
             <li><a href="https://www.apache.org/foundation/sponsorship.html" title="Sponsorship">Sponsorship</a></li>
@@ -103,7 +105,7 @@
     <div class="container-fluid">
       <header>
         <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h1>Apache Jackrabbit Site</h1>
+          <div class="pull-left"><div id="bannerLeft"><h2>Apache Jackrabbit Site</h2>
 </div>
 </div>
           <div class="pull-right"></div>
@@ -112,7 +114,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-07-05</li>
+        <li id="publishDate">Last Published: 2022-05-09</li>
           </ul>
         </div>
       </header>
@@ -157,6 +159,7 @@
   </ul>
           </nav>
           <div class="well sidebar-nav">
+            <hr />
             <div id="poweredBy">
               <div class="clear"></div>
               <div class="clear"></div>
@@ -183,44 +186,24 @@
    limitations under the License.
 -->
 <h1>Repository Server HOWTO</h1>
-<p>This document describes how to use a Jackrabbit content repository in the
-deployment model 3: The Repository Server. In this deployment model, a
-separate repository server is running outside the virtual machine the
-client application is running in. A repository server can serve multiple
-applications running on separate JVMs on separate network hosts. See the <a href="jcr-client-application-howto.html">JCR client application HOWTO</a>
-for instructions on how to use the configured content repository server.</p>
-<p>Note that JCR specification defines no standard communication protocol for
-inter-JVM repository access, and that Jackrabbit supports no such protocol
-by default. However, Jackrabbit contains tools for using JCR content
-repositories over the RMI and WebDAV protocols (see the jcr-rmi and the
-jcr-server, webapp packages).</p>
-<p>This how-to contains instructions for accessing a JCR-RMI server in Tomcat
-versions 4.x and 5.x. It should be easy to modify the instructions for
-other container environments and communication protocols.</p>
-<p>In addition to the following the instructions in this document, you also
-need to have an already running JCR-RMI server. See the JCR-RMI javadocs
-for instructions on how to setup such a server.</p>
-<p>Warning: The current JCR-RMI library is designed for simplicity, not
-performance. You will probably experience major performance issues if you
-try running any non-trivial applications on top of JCR-RMI.</p><section>
+<p>This document describes how to use a Jackrabbit content repository in the deployment model 3: The Repository Server. In this deployment model, a separate repository server is running outside the virtual machine the client application is running in. A repository server can serve multiple applications running on separate JVMs on separate network hosts. See the <a href="jcr-client-application-howto.html">JCR client application HOWTO</a> for instructions on how to use the configured content repository server.</p>
+<p>Note that JCR specification defines no standard communication protocol for inter-JVM repository access, and that Jackrabbit supports no such protocol by default. However, Jackrabbit contains tools for using JCR content repositories over the RMI and WebDAV protocols (see the jcr-rmi and the jcr-server, webapp packages).</p>
+<p>This how-to contains instructions for accessing a JCR-RMI server in Tomcat versions 4.x and 5.x. It should be easy to modify the instructions for other container environments and communication protocols.</p>
+<p>In addition to the following the instructions in this document, you also need to have an already running JCR-RMI server. See the JCR-RMI javadocs for instructions on how to setup such a server.</p>
+<p>Warning: The current JCR-RMI library is designed for simplicity, not performance. You will probably experience major performance issues if you try running any non-trivial applications on top of JCR-RMI.</p><section>
 <h2><a name="Tomcat_instructions"></a>Tomcat instructions</h2>
-<p>Follow the steps below to setup a model 3 JCR-RMI client deployment for
-your web application in Tomcat 4.x or 5.x. Example code for both versions
-of Tomcat is included after this overview.</p>
-<p>Note that these instructions closely follow the Model 1 HOWTO instructions.
-By making similar changes (change the factory class and parameters of the
-repository) to the Model 2 HOWTO instructions, you can setup a shared
-JCR-RMI client deployment for all applications in the container.</p>
+<p>Follow the steps below to setup a model 3 JCR-RMI client deployment for your web application in Tomcat 4.x or 5.x. Example code for both versions of Tomcat is included after this overview.</p>
+<p>Note that these instructions closely follow the Model 1 HOWTO instructions. By making similar changes (change the factory class and parameters of the repository) to the Model 2 HOWTO instructions, you can setup a shared JCR-RMI client deployment for all applications in the container.</p>
 <ol style="list-style-type: decimal">
 
 <li>Place the JCR-RMI jar file and its dependencies (including the JCR API jar) under <code>$CATALINA_HOME/webapps/_your app_/WEB-INF/lib</code>.</li>
 <li>Register the JCR-RMI client repository factory in the context scope.</li>
 </ol><section>
 <h3><a name="Step_2_-_Context_configuration"></a>Step 2 - Context configuration</h3>
-<p>In Tomcat 4.x and 5.0, add the following snippet in <code>server.xml</code> under the
-Context element of your web application.</p>
+<p>In Tomcat 4.x and 5.0, add the following snippet in <code>server.xml</code> under the Context element of your web application.</p>
 
-<div class="source"><pre class="prettyprint linenums"><code>&lt;Resource 
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">&lt;Resource 
     name=&quot;jcr/repository&quot; 
     auth=&quot;Container&quot; 
     type=&quot;javax.jcr.Repository&quot;
@@ -235,18 +218,19 @@ Context element of your web application.
         &lt;value&gt;[The RMI URL of the repository] &lt;/value&gt;
     &lt;/parameter&gt;
 &lt;/ResourceParams&gt;
-</code></pre></div>
-<p>In Tomcat 5.5, add the following snippet in your application's context.xml
-file (or in the server.xml file if you prefer central configuration).</p>
+</pre></div></div>
+
+<p>In Tomcat 5.5, add the following snippet in your application&#x2019;s context.xml file (or in the server.xml file if you prefer central configuration).</p>
 
-<div class="source"><pre class="prettyprint linenums"><code>&lt;Resource 
+<div class="source">
+<div class="source"><pre class="prettyprint linenums">&lt;Resource 
     name=&quot;jcr/repository&quot;
     auth=&quot;Container&quot;
     type=&quot;javax.jcr.Repository&quot; 
     factory=&quot;org.apache.jackrabbit.rmi.client.ClientRepositoryFactory&quot; 
     url=&quot;[The RMI URL of the repository]&quot;
 /&gt;
-</code></pre></div></section></section>
+</pre></div></div></section></section>
         </main>
       </div>
     </div>
@@ -258,12 +242,10 @@ file (or in the server.xml file if you p
 <a href="https://www.apache.org/">The Apache Software Foundation</a> &vert; <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a>
 </p>
         </div>
-      </div>
+    <div id="ohloh" class="pull-right">
+      <script src="https://www.ohloh.net/p/jackrabbit/widgets/project_users_logo.js"></script>
+    </div>
+        </div>
     </footer>
-<script>
-	if(anchors) {
-	  anchors.add();
-	}
-</script>
   </body>
 </html>
\ No newline at end of file