exo-jcr SVN: r1858 - kernel/trunk.
by do-not-reply@jboss.org
Author: aheritier
Date: 2010-02-17 07:57:16 -0500 (Wed, 17 Feb 2010)
New Revision: 1858
Modified:
kernel/trunk/pom.xml
Log:
EXOJCR-522 : Use new foundation parent SNAPSHOT
Modified: kernel/trunk/pom.xml
===================================================================
--- kernel/trunk/pom.xml 2010-02-17 12:56:57 UTC (rev 1857)
+++ kernel/trunk/pom.xml 2010-02-17 12:57:16 UTC (rev 1858)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.exoplatform</groupId>
<artifactId>foundation-parent</artifactId>
- <version>4</version>
+ <version>5-SNAPSHOT</version>
</parent>
<groupId>org.exoplatform.kernel</groupId>
14 years, 7 months
exo-jcr SVN: r1857 - core/trunk.
by do-not-reply@jboss.org
Author: aheritier
Date: 2010-02-17 07:56:57 -0500 (Wed, 17 Feb 2010)
New Revision: 1857
Modified:
core/trunk/pom.xml
Log:
EXOJCR-522 : Use new foundation parent SNAPSHOT
Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml 2010-02-17 12:55:36 UTC (rev 1856)
+++ core/trunk/pom.xml 2010-02-17 12:56:57 UTC (rev 1857)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform</groupId>
<artifactId>foundation-parent</artifactId>
- <version>4</version>
+ <version>5-SNAPSHOT</version>
</parent>
<groupId>org.exoplatform.core</groupId>
14 years, 7 months
exo-jcr SVN: r1856 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache.
by do-not-reply@jboss.org
Author: nzamosenchuk
Date: 2010-02-17 07:55:36 -0500 (Wed, 17 Feb 2010)
New Revision: 1856
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java
Log:
EXOJCR-434: Fixed wrong parameter name in QueryHandler configuration: PARAM_JBOSSCACHE_PUSHSTATE_TIMEOUT instead of PARAM_JBOSSCACHE_PUSHSTATE
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java 2010-02-17 12:50:18 UTC (rev 1855)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java 2010-02-17 12:55:36 UTC (rev 1856)
@@ -94,7 +94,7 @@
// try to get pushState parameters, since they are set programmatically only
Boolean pushState = config.getParameterBoolean(QueryHandlerParams.PARAM_JBOSSCACHE_PUSHSTATE, false);
- Integer pushStateTimeOut = config.getParameterInteger(QueryHandlerParams.PARAM_JBOSSCACHE_PUSHSTATE, 10000);
+ Integer pushStateTimeOut = config.getParameterInteger(QueryHandlerParams.PARAM_JBOSSCACHE_PUSHSTATE_TIMEOUT, 10000);
singletonStoreProperties.setProperty("pushStateWhenCoordinator", pushState.toString());
singletonStoreProperties.setProperty("pushStateWhenCoordinatorTimeout", pushStateTimeOut.toString());
14 years, 7 months
exo-jcr SVN: r1855 - kernel/trunk.
by do-not-reply@jboss.org
Author: aheritier
Date: 2010-02-17 07:50:18 -0500 (Wed, 17 Feb 2010)
New Revision: 1855
Modified:
kernel/trunk/pom.xml
Log:
EXOJCR-522 : Fix plugin versions properties
Modified: kernel/trunk/pom.xml
===================================================================
--- kernel/trunk/pom.xml 2010-02-17 12:47:13 UTC (rev 1854)
+++ kernel/trunk/pom.xml 2010-02-17 12:50:18 UTC (rev 1855)
@@ -180,17 +180,17 @@
<dependency>
<groupId>org.jibx</groupId>
<artifactId>jibx-bind</artifactId>
- <version>${jibx.plugin.version}</version>
+ <version>${version.jibx.plugin}</version>
</dependency>
<dependency>
<groupId>org.jibx</groupId>
<artifactId>jibx-extras</artifactId>
- <version>${jibx.plugin.version}</version>
+ <version>${version.jibx.plugin}</version>
</dependency>
<dependency>
<groupId>org.jibx</groupId>
<artifactId>jibx-run</artifactId>
- <version>${jibx.plugin.version}</version>
+ <version>${version.jibx.plugin}</version>
</dependency>
<dependency>
<groupId>jotm</groupId>
14 years, 7 months
exo-jcr SVN: r1854 - parent/trunk.
by do-not-reply@jboss.org
Author: aheritier
Date: 2010-02-17 07:47:13 -0500 (Wed, 17 Feb 2010)
New Revision: 1854
Modified:
parent/trunk/pom.xml
Log:
EXOJCR-522 : Fix plugin versions properties
Modified: parent/trunk/pom.xml
===================================================================
--- parent/trunk/pom.xml 2010-02-17 11:39:52 UTC (rev 1853)
+++ parent/trunk/pom.xml 2010-02-17 12:47:13 UTC (rev 1854)
@@ -148,9 +148,9 @@
<!-- Plugins versions are defined in properties to reuse them between build and reporting parts if necessary -->
<version.animalsniffer.plugin>1.2</version.animalsniffer.plugin>
<version.clover2.plugin>2.6.3</version.clover2.plugin>
- <jibx.plugin.version>1.2.1</jibx.plugin.version>
- <javacc.plugin.version>2.5</javacc.plugin.version>
- <jaxb2.plugin.version>0.1</jaxb2.plugin.version>
+ <version.jibx.plugin>1.2.1</version.jibx.plugin>
+ <version.javacc.plugin>2.5</version.javacc.plugin>
+ <version.jaxb2.plugin>0.1</version.jaxb2.plugin>
</properties>
@@ -182,7 +182,7 @@
<plugin>
<groupId>org.jibx</groupId>
<artifactId>maven-jibx-plugin</artifactId>
- <version>${jibx.plugin.version}</version>
+ <version>${version.jibx.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -204,12 +204,12 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
- <version>${javacc.plugin.version}</version>
+ <version>${version.javacc.plugin}</version>
</plugin>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
- <version>${jaxb2.plugin.version}</version>
+ <version>${version.jaxb2.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -247,12 +247,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>${project.info.reports.plugin.version}</version>
+ <version>${version.pir.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc.plugin.version}</version>
+ <version>${version.javadoc.plugin}</version>
<configuration>
<aggregate>true</aggregate>
<reportOutputDirectory>${project.build.directory}/javadoc</reportOutputDirectory>
@@ -263,12 +263,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
- <version>${surefire.report.plugin.version}</version>
+ <version>${version.surefire.plugin}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
- <version>${taglist.plugin.version}</version>
+ <version>${version.taglist.plugin}</version>
</plugin>
</plugins>
</reporting>
@@ -281,7 +281,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
+ <version>${version.checkstyle.plugin}</version>
<dependencies>
<dependency>
<groupId>org.exoplatform.tool</groupId>
@@ -305,7 +305,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
+ <version>${version.checkstyle.plugin}</version>
<configuration>
<violationSeverity>warning</violationSeverity>
<configLocation>checkstyle/codestyle.xml</configLocation>
14 years, 7 months
exo-jcr SVN: r1853 - in jcr/trunk/applications: cluster.test.client and 6 other directories.
by do-not-reply@jboss.org
Author: dkatayev
Date: 2010-02-17 06:39:52 -0500 (Wed, 17 Feb 2010)
New Revision: 1853
Modified:
jcr/trunk/applications/cluster.test.client/pom.xml
jcr/trunk/applications/exo.jcr.applications.backupconsole/pom.xml
jcr/trunk/applications/exo.jcr.applications.browser/pom.xml
jcr/trunk/applications/exo.jcr.applications.config/pom.xml
jcr/trunk/applications/exo.jcr.applications.fckeditor/pom.xml
jcr/trunk/applications/exo.jcr.applications.rest/pom.xml
jcr/trunk/applications/exo.jcr.ear/pom.xml
jcr/trunk/applications/pom.xml
Log:
EXOJCR-521 reactor and project's poms updated
Modified: jcr/trunk/applications/cluster.test.client/pom.xml
===================================================================
--- jcr/trunk/applications/cluster.test.client/pom.xml 2010-02-17 11:01:32 UTC (rev 1852)
+++ jcr/trunk/applications/cluster.test.client/pom.xml 2010-02-17 11:39:52 UTC (rev 1853)
@@ -23,7 +23,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
+ <artifactId>jcr-applications-parent</artifactId>
<version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.component.cluster.test.client</artifactId>
Modified: jcr/trunk/applications/exo.jcr.applications.backupconsole/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.backupconsole/pom.xml 2010-02-17 11:01:32 UTC (rev 1852)
+++ jcr/trunk/applications/exo.jcr.applications.backupconsole/pom.xml 2010-02-17 11:39:52 UTC (rev 1853)
@@ -23,7 +23,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
+ <artifactId>jcr-applications-parent</artifactId>
<version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.applications.backupconsole</artifactId>
Modified: jcr/trunk/applications/exo.jcr.applications.browser/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.browser/pom.xml 2010-02-17 11:01:32 UTC (rev 1852)
+++ jcr/trunk/applications/exo.jcr.applications.browser/pom.xml 2010-02-17 11:39:52 UTC (rev 1853)
@@ -23,7 +23,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
+ <artifactId>jcr-applications-parent</artifactId>
<version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.applications.browser</artifactId>
Modified: jcr/trunk/applications/exo.jcr.applications.config/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.config/pom.xml 2010-02-17 11:01:32 UTC (rev 1852)
+++ jcr/trunk/applications/exo.jcr.applications.config/pom.xml 2010-02-17 11:39:52 UTC (rev 1853)
@@ -23,9 +23,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
+ <artifactId>jcr-applications-parent</artifactId>
<version>1.12.0-GA-SNAPSHOT</version>
- <relativePath>../../</relativePath>
</parent>
<artifactId>exo.jcr.applications.config</artifactId>
<packaging>pom</packaging>
Modified: jcr/trunk/applications/exo.jcr.applications.fckeditor/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.fckeditor/pom.xml 2010-02-17 11:01:32 UTC (rev 1852)
+++ jcr/trunk/applications/exo.jcr.applications.fckeditor/pom.xml 2010-02-17 11:39:52 UTC (rev 1853)
@@ -23,7 +23,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
+ <artifactId>jcr-applications-parent</artifactId>
<version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.applications.fckeditor</artifactId>
Modified: jcr/trunk/applications/exo.jcr.applications.rest/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.rest/pom.xml 2010-02-17 11:01:32 UTC (rev 1852)
+++ jcr/trunk/applications/exo.jcr.applications.rest/pom.xml 2010-02-17 11:39:52 UTC (rev 1853)
@@ -23,7 +23,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
+ <artifactId>jcr-applications-parent</artifactId>
<version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.applications.rest</artifactId>
Modified: jcr/trunk/applications/exo.jcr.ear/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.ear/pom.xml 2010-02-17 11:01:32 UTC (rev 1852)
+++ jcr/trunk/applications/exo.jcr.ear/pom.xml 2010-02-17 11:39:52 UTC (rev 1853)
@@ -23,7 +23,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
+ <artifactId>jcr-applications-parent</artifactId>
<version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.ear</artifactId>
Modified: jcr/trunk/applications/pom.xml
===================================================================
--- jcr/trunk/applications/pom.xml 2010-02-17 11:01:32 UTC (rev 1852)
+++ jcr/trunk/applications/pom.xml 2010-02-17 11:39:52 UTC (rev 1853)
@@ -27,8 +27,9 @@
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>jcr-applications-reactor</artifactId>
-
+ <artifactId>jcr-applications-parent</artifactId>
+ <version>1.12.0-GA-SNAPSHOT</version>
+
<name>eXo JCR :: Applications :: Reactor</name>
<packaging>pom</packaging>
<description>eXo JCR Applications Reactor</description>
14 years, 7 months
exo-jcr SVN: r1852 - jcr/trunk.
by do-not-reply@jboss.org
Author: dkatayev
Date: 2010-02-17 06:01:32 -0500 (Wed, 17 Feb 2010)
New Revision: 1852
Modified:
jcr/trunk/pom.xml
Log:
EXOJCR-521 parent pom updated to use applications reactor
Modified: jcr/trunk/pom.xml
===================================================================
--- jcr/trunk/pom.xml 2010-02-17 11:00:06 UTC (rev 1851)
+++ jcr/trunk/pom.xml 2010-02-17 11:01:32 UTC (rev 1852)
@@ -432,7 +432,6 @@
</pluginManagement>
</build>
<modules>
- <module>applications/cluster.test.client</module>
<module>exo.jcr.component.core</module>
<module>exo.jcr.component.ext</module>
<module>exo.jcr.component.ftp</module>
@@ -441,12 +440,7 @@
<module>exo.jcr.framework.command</module>
<module>exo.jcr.framework.web</module>
<module>exo.jcr.framework.ftpclient</module>
- <module>applications/exo.jcr.applications.config</module>
- <module>applications/java/exo.jcr.applications.browser</module>
- <module>applications/java/exo.jcr.applications.fckeditor</module>
- <module>applications/java/exo.jcr.applications.rest</module>
- <module>applications/java/exo.jcr.ear</module>
- <module>applications/java/exo.jcr.applications.backupconsole</module>
+ <module>applications</module>
<module>packaging/module</module>
</modules>
</project>
14 years, 7 months
exo-jcr SVN: r1851 - in jcr/trunk/applications: exo.jcr.applications.browser and 3 other directories.
by do-not-reply@jboss.org
Author: dkatayev
Date: 2010-02-17 06:00:06 -0500 (Wed, 17 Feb 2010)
New Revision: 1851
Modified:
jcr/trunk/applications/exo.jcr.applications.backupconsole/pom.xml
jcr/trunk/applications/exo.jcr.applications.browser/pom.xml
jcr/trunk/applications/exo.jcr.applications.config/pom.xml
jcr/trunk/applications/exo.jcr.applications.fckeditor/pom.xml
jcr/trunk/applications/exo.jcr.applications.rest/pom.xml
Log:
EXOJCR-521 poms updated
Modified: jcr/trunk/applications/exo.jcr.applications.backupconsole/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.backupconsole/pom.xml 2010-02-17 10:35:34 UTC (rev 1850)
+++ jcr/trunk/applications/exo.jcr.applications.backupconsole/pom.xml 2010-02-17 11:00:06 UTC (rev 1851)
@@ -27,7 +27,7 @@
<version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.applications.backupconsole</artifactId>
- <name>eXo JCR :: Application :: Backup Console</name>
+ <name>eXo JCR :: Applications :: Backup Console</name>
<properties>
<exo.test.includes>*</exo.test.includes>
<childDelegation>true</childDelegation>
Modified: jcr/trunk/applications/exo.jcr.applications.browser/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.browser/pom.xml 2010-02-17 10:35:34 UTC (rev 1850)
+++ jcr/trunk/applications/exo.jcr.applications.browser/pom.xml 2010-02-17 11:00:06 UTC (rev 1851)
@@ -28,7 +28,7 @@
</parent>
<artifactId>exo.jcr.applications.browser</artifactId>
<packaging>war</packaging>
- <name>eXo JCR :: Application :: Browser Demo</name>
+ <name>eXo JCR :: Applications :: Browser Demo</name>
<properties>
<enforcer.skip>true</enforcer.skip>
</properties>
Modified: jcr/trunk/applications/exo.jcr.applications.config/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.config/pom.xml 2010-02-17 10:35:34 UTC (rev 1850)
+++ jcr/trunk/applications/exo.jcr.applications.config/pom.xml 2010-02-17 11:00:06 UTC (rev 1851)
@@ -29,7 +29,7 @@
</parent>
<artifactId>exo.jcr.applications.config</artifactId>
<packaging>pom</packaging>
- <name>eXo JCR :: Application</name>
+ <name>eXo JCR :: Applications :: Config</name>
<dependencies>
<dependency>
<groupId>org.exoplatform.jcr</groupId>
Modified: jcr/trunk/applications/exo.jcr.applications.fckeditor/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.fckeditor/pom.xml 2010-02-17 10:35:34 UTC (rev 1850)
+++ jcr/trunk/applications/exo.jcr.applications.fckeditor/pom.xml 2010-02-17 11:00:06 UTC (rev 1851)
@@ -28,7 +28,7 @@
</parent>
<artifactId>exo.jcr.applications.fckeditor</artifactId>
<packaging>war</packaging>
- <name>eXo JCR :: Application :: FCKeditor Sample</name>
+ <name>eXo JCR :: Applications :: FCKeditor Sample</name>
<description>eXo simple CMS web app</description>
<properties>
<enforcer.skip>true</enforcer.skip>
Modified: jcr/trunk/applications/exo.jcr.applications.rest/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.rest/pom.xml 2010-02-17 10:35:34 UTC (rev 1850)
+++ jcr/trunk/applications/exo.jcr.applications.rest/pom.xml 2010-02-17 11:00:06 UTC (rev 1851)
@@ -28,7 +28,7 @@
</parent>
<artifactId>exo.jcr.applications.rest</artifactId>
<packaging>war</packaging>
- <name>eXo JCR :: Application :: Rest Web</name>
+ <name>eXo JCR :: Applications :: Rest Web</name>
<description>eXo JCR Rest web application</description>
<properties>
<enforcer.skip>true</enforcer.skip>
14 years, 7 months
exo-jcr SVN: r1850 - jcr/trunk/applications.
by do-not-reply@jboss.org
Author: dkatayev
Date: 2010-02-17 05:35:34 -0500 (Wed, 17 Feb 2010)
New Revision: 1850
Added:
jcr/trunk/applications/pom.xml
Log:
EXOJCR-521 Applications reactor pom added
Added: jcr/trunk/applications/pom.xml
===================================================================
--- jcr/trunk/applications/pom.xml (rev 0)
+++ jcr/trunk/applications/pom.xml 2010-02-17 10:35:34 UTC (rev 1850)
@@ -0,0 +1,45 @@
+<!--
+
+ 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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-GA-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jcr-applications-reactor</artifactId>
+
+ <name>eXo JCR :: Applications :: Reactor</name>
+ <packaging>pom</packaging>
+ <description>eXo JCR Applications Reactor</description>
+
+ <modules>
+ <module>cluster.test.client</module>
+ <module>exo.jcr.applications.backupconsole</module>
+ <module>exo.jcr.applications.browser</module>
+ <module>exo.jcr.applications.config</module>
+ <module>exo.jcr.applications.fckeditor</module>
+ <module>exo.jcr.applications.rest</module>
+ <module>exo.jcr.ear</module>
+ </modules>
+</project>
14 years, 7 months
exo-jcr SVN: r1849 - jcr/trunk/docs/reference/en/src/main/docbook/en-us/modules.
by do-not-reply@jboss.org
Author: sergiykarpenko
Date: 2010-02-17 04:57:04 -0500 (Wed, 17 Feb 2010)
New Revision: 1849
Added:
jcr/trunk/docs/reference/en/src/main/docbook/en-us/modules/query-handler-config.xml
Log:
EXOJCR-490: query-handler-config added
Added: jcr/trunk/docs/reference/en/src/main/docbook/en-us/modules/query-handler-config.xml
===================================================================
--- jcr/trunk/docs/reference/en/src/main/docbook/en-us/modules/query-handler-config.xml (rev 0)
+++ jcr/trunk/docs/reference/en/src/main/docbook/en-us/modules/query-handler-config.xml 2010-02-17 09:57:04 UTC (rev 1849)
@@ -0,0 +1,186 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+"http://www.oasis-open.org/docbook/xml/4.3b2/docbookx.dtd">
+<article>
+ <articleinfo>
+ <title>QueryHandler configuration</title>
+ </articleinfo>
+
+ <sect1>
+ <title>How does it work?</title>
+
+ <para>Lets talk about indexing content in cluster.</para>
+
+ <para>For couple of reasons, we can't replicate index. That's means, some
+ data added and indexed on one cluster node, will be replicated to another
+ cluster node, but will not be indexed on that node.</para>
+
+ <para>So, how do the indexing works in cluster environment?</para>
+
+ <para>As, we can not index same data on all nodes of cluster, we must
+ index it on one node. Node, that can index data and do changes on lucene
+ index, is called "coordinator". Coordinator-node is choosen automaticaly,
+ so we do not need special configuration for coordinator.</para>
+
+ <para>But, how can another nodes save their changes to lucene
+ index?</para>
+
+ <para>First of all, data is already saved and replicated to another
+ cluster-nodes, so we need only deliver message like "we need to index this
+ data" to coordinator. Thats why Jboss-cache is used.</para>
+
+ <para>All nodes of cluster writes messages into JBoss-cache but only
+ coordinator takes those messages and makes changes Lucene index.</para>
+
+ <para>How do the search works in cluster environment?</para>
+
+ <para>Search engine do not works with indexer, coordinator, etc. Search
+ needs only lucene index. But only one cluster node can change lucene index
+ - asking you. Yes - lucene index is shared. So, all cluster nodes must be
+ configured to use lucene index from shared directory.</para>
+
+ <para>A little bit about indexing process (no matter, cluster or not)
+ Indexer do not writes changes to FS lucene index immediately. At first,
+ Indexer writes changes to Volatile index. If Volatile index size become
+ 1Mb or more it is flushed to FS. Also there is timer, that flushes
+ volatile index by timeout. Volatile index timeout configured by
+ "max-volatile-time" paremeter.</para>
+
+ <para>Common scheme of Shared Index<mediaobject>
+ <imageobject>
+ <imagedata fileref="../../../resources/images/diagram-shared-index.png" />
+ </imageobject>
+ </mediaobject></para>
+ </sect1>
+
+ <sect1>
+ <title>Configuration</title>
+
+ <sect2>
+ <title>Common requirements</title>
+
+ <para>Now, lets see what we need to run Search engine in cluster
+ environment.<itemizedlist>
+ <listitem>
+ <para>shared directory for storing Lucene index (i.e. NFS);</para>
+ </listitem>
+
+ <listitem>
+ <para>changes filter configured as
+ org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter;</para>
+
+ <note>
+ <para>This filter ignore changes on non-coordinator nodes, and
+ index changes on coordinator node.</para>
+ </note>
+ </listitem>
+
+ <listitem>
+ <para>configure JBoss-cache, course;</para>
+ </listitem>
+ </itemizedlist></para>
+ </sect2>
+
+ <sect2>
+ <title>Query-handler configuration</title>
+
+ <para>Configuration example:<programlisting><workspace name="ws">
+ <query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir" value="shareddir/index/db1/ws" />
+ <property name="changesfilter-class"
+ value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
+ <property name="jbosscache-configuration" value="jbosscache-indexer.xml" />
+ <property name="jgroups-configuration" value="udp-mux.xml" />
+ <property name="jgroups-multiplexer-stack" value="true" />
+ <property name="jbosscache-cluster-name" value="JCR-cluster-indexer-ws" />
+ <property name="max-volatile-time" value="60" />
+ </properties>
+ </query-handler>
+</workspace></programlisting> <table>
+ <title>Config properties description</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Property name</entry>
+
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>index-dir</entry>
+
+ <entry>path to index</entry>
+ </row>
+
+ <row>
+ <entry>jbosscache-configuration</entry>
+
+ <entry>template of JBoss-cache configuration for all
+ query-handlers in repository</entry>
+ </row>
+
+ <row>
+ <entry>jgroups-configuration</entry>
+
+ <entry>jgroups-configuration is template configuration for all
+ components (search, cache, locks) [Add link to document
+ describing template configurations]</entry>
+ </row>
+
+ <row>
+ <entry>jgroups-multiplexer-stack</entry>
+
+ <entry>[TODO about jgroups-multiplexer-stack - add link to
+ JBoss doc]</entry>
+ </row>
+
+ <row>
+ <entry>jbosscache-cluster-name</entry>
+
+ <entry>cluster name (must be unique)</entry>
+ </row>
+
+ <row>
+ <entry>max-volatile-time</entry>
+
+ <entry>max time to live for Volatile Index</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table></para>
+ </sect2>
+
+ <sect2>
+ <title>JBoss-Cache template configuration</title>
+
+ <para>JBoss-Cache template configuration for query handler.</para>
+
+ <para>jbosscache-indexer.xml<programlisting><?xml version="1.0" encoding="UTF-8"?>
+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1">
+
+ <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
+ lockAcquisitionTimeout="20000" />
+ <!-- Configure the TransactionManager -->
+ <transaction transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup" />
+
+ <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
+ <stateRetrieval timeout="20000" fetchInMemoryState="false" />
+ <jgroupsConfig multiplexerStack="jcr.stack" />
+ <sync />
+ </clustering>
+ <!-- Eviction configuration -->
+ <eviction wakeUpInterval="5000">
+ <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm" eventQueueSize="1000000">
+ <property name="maxNodes" value="10000" />
+ <property name="minTimeToLive" value="60000" />
+ </default>
+ </eviction>
+
+</jbosscache></programlisting></para>
+ </sect2>
+ </sect1>
+</article>
14 years, 7 months