jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "Clustering" by KevinJansz
Date Tue, 21 Jul 2009 04:36:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by KevinJansz:
http://wiki.apache.org/jackrabbit/Clustering

The comment on the change is:
Added example for cluster-journal config with JNDI. 

------------------------------------------------------------------------------
  </Cluster>
  }}}
  
+ In the following configuration, the journal is stored in an PostgreSQL database, accessed
via "JNDI" (See Also ["UsingJNDIDataSource"]):
+ 
+ {{{
+ <Cluster id="node1" syncDelay="2000">
+   <Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal">
+     <param name="revision" value="${rep.home}/revision.log" />
+     <param name="driver" value="javax.naming.InitialContext"/>
+     <param name="url" value="java:jdbc/Workspace"/>
+     <param name="schema" value="postgresql"/>
+   </Journal>
+ </Cluster>
+ 
+ }}}
+ 
  '''Note''': the journal implementation classes have been refactored in Jackrabbit 1.3. In
earlier versions, journal implementations resided in the package ''org.apache.jackrabbit.core.cluster''.
  
  === Persistence Manager Configuration ===

Mime
View raw message