[exo-jcr-commits] exo-jcr SVN: r1362 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/resources/conf/portal.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Jan 12 08:16:32 EST 2010


Author: dkatayev
Date: 2010-01-12 08:16:32 -0500 (Tue, 12 Jan 2010)
New Revision: 1362

Modified:
   jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/resources/conf/portal/exo-jcr-config.xml
Log:
reverted to the previos state (r1119)

Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/resources/conf/portal/exo-jcr-config.xml
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/resources/conf/portal/exo-jcr-config.xml	2010-01-12 13:13:21 UTC (rev 1361)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/resources/conf/portal/exo-jcr-config.xml	2010-01-12 13:16:32 UTC (rev 1362)
@@ -1,13 +1,23 @@
+<!--
 
-   <!--
+    Copyright (C) 2009 eXo Platform SAS.
 
-      Copyright (C) 2009 eXo Platform SAS. This is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public
-      License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This software is
-      distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-      PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with
-      this software; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site:
-      http://www.fsf.org.
-   -->
+    This is free software; you can redistribute it and/or modify it
+    under the terms of the GNU Lesser General Public License as
+    published by the Free Software Foundation; either version 2.1 of
+    the License, or (at your option) any later version.
+
+    This software is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this software; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+    02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
 <repository-service default-repository="repository">
    <repositories>
       <repository name="repository" system-workspace="production" default-workspace="production">
@@ -20,7 +30,7 @@
                <container class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
                   <properties>
                      <property name="source-name" value="jdbcjcr" />
-                     <property name="dialect" value="oracle" />
+                     <property name="dialect" value="hsqldb" />
                      <property name="multi-db" value="false" />
                      <property name="update-storage" value="false" />
                      <property name="max-buffer-size" value="200k" />
@@ -29,7 +39,7 @@
                   <value-storages>
                      <value-storage id="system" class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
                         <properties>
-                           <property name="path" value="/mnt/tornado/temp/values/production" />
+                           <property name="path" value="../temp/values/production" />
                         </properties>
                         <filters>
                            <filter property-type="Binary" />
@@ -42,16 +52,15 @@
                      <property name="root-nodetype" value="nt:unstructured" />
                   </properties>
                </initializer>
-               <cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
+               <cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
                   <properties>
-                     <property name="jbosscache-configuration" value="conf/portal/test-jbosscache-config-repository-production.xml" />
+                     <property name="max-size" value="10k" />
+                     <property name="live-time" value="1h" />
                   </properties>
                </cache>
                <query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
                   <properties>
-                     <property name="index-dir" value="/mnt/tornado/temp/jcrlucenedb/production" />
-                     <property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JbossCacheIndexChangesFilter" />
-                     <property name="changesfilter-config-path" value="conf/portal/test-jbosscache-indexer-config-repository-production.xml" />
+                     <property name="index-dir" value="../temp/jcrlucenedb/production" />
                   </properties>
                </query-handler>
                <lock-manager>
@@ -68,7 +77,7 @@
                <container class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
                   <properties>
                      <property name="source-name" value="jdbcjcr" />
-                     <property name="dialect" value="oracle" />
+                     <property name="dialect" value="hsqldb" />
                      <property name="multi-db" value="false" />
                      <property name="update-storage" value="false" />
                      <property name="max-buffer-size" value="200k" />
@@ -77,7 +86,7 @@
                   <value-storages>
                      <value-storage id="draft" class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
                         <properties>
-                           <property name="path" value="/mnt/tornado/temp/values/backup" />
+                           <property name="path" value="../temp/values/backup" />
                         </properties>
                         <filters>
                            <filter property-type="Binary" />
@@ -90,16 +99,15 @@
                      <property name="root-nodetype" value="nt:unstructured" />
                   </properties>
                </initializer>
-               <cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
+               <cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
                   <properties>
-                     <property name="jbosscache-configuration" value="conf/portal/test-jbosscache-config-repository-backup.xml" />
+                     <property name="max-size" value="10k" />
+                     <property name="live-time" value="1h" />
                   </properties>
                </cache>
                <query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
                   <properties>
-                     <property name="index-dir" value="/mnt/tornado/temp/jcrlucenedb/backup" />
-                     <property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JbossCacheIndexChangesFilter" />
-                     <property name="changesfilter-config-path" value="conf/portal/test-jbosscache-indexer-config-repository-backup.xml" />
+                     <property name="index-dir" value="../temp/jcrlucenedb/backup" />
                   </properties>
                </query-handler>
             </workspace>
@@ -108,7 +116,7 @@
                <container class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
                   <properties>
                      <property name="source-name" value="jdbcjcr" />
-                     <property name="dialect" value="oracle" />
+                     <property name="dialect" value="hsqldb" />
                      <property name="multi-db" value="false" />
                      <property name="update-storage" value="false" />
                      <property name="max-buffer-size" value="200k" />
@@ -117,7 +125,7 @@
                   <value-storages>
                      <value-storage id="digital-assets" class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
                         <properties>
-                           <property name="path" value="/mnt/tornado/temp/values/digital-assets" />
+                           <property name="path" value="../temp/values/digital-assets" />
                         </properties>
                         <filters>
                            <filter property-type="Binary" />
@@ -130,16 +138,15 @@
                      <property name="root-nodetype" value="nt:folder" />
                   </properties>
                </initializer>
-               <cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
+               <cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.LinkedWorkspaceStorageCacheImpl">
                   <properties>
-                     <property name="jbosscache-configuration" value="conf/portal/test-jbosscache-config-repository-digital-assets.xml" />
+                     <property name="max-size" value="5k" />
+                     <property name="live-time" value="15m" />
                   </properties>
                </cache>
                <query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
                   <properties>
-                     <property name="index-dir" value="/mnt/tornado/temp/jcrlucenedb/digital-assets" />
-                     <property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JbossCacheIndexChangesFilter" />
-                     <property name="changesfilter-config-path" value="conf/portal/test-jbosscache-indexer-config-repository-digital-assets.xml" />                     
+                     <property name="index-dir" value="../temp/jcrlucenedb/digital-assets" />
                   </properties>
                </query-handler>
             </workspace>



More information about the exo-jcr-commits mailing list