4 Replies Latest reply on Apr 21, 2010 10:32 AM by yelan_gatein

    A bug in GateIn-3.0.0-FINAL-src.zip  repository-configuration.xml file

    yelan_gatein

      search this file by "jbosscache-cluster-namejbosscache-cluster-name", there are two places.

       

      <!--

       

          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.

       

      -->

       

      <repository-service default-repository="repository">

        <repositories>

          <repository name="repository" system-workspace="system" default-workspace="portal-system">

            <security-domain>gatein-domain</security-domain>

            <access-control>optional</access-control>

            <authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>

       

            <!-- System -->

            <workspaces>

              <workspace name="system">

                <container>

                  <properties>

                    <property name="source-name" value="${gatein.jcr.datasource.name}${container.name.suffix}"/>

                    <property name="dialect" value="${gatein.jcr.datasource.dialect}"/>

                    <property name="multi-db" value="false"/>

                    <property name="update-storage" value="true"/>

                    <property name="max-buffer-size" value="204800"/>

                    <property name="swap-directory" value="${gatein.jcr.data.dir}/system${container.name.suffix}"/>

                  </properties>

                  <value-storages>

                    <value-storage id="system">

                      <properties>

                        <property name="path" value="${gatein.jcr.storage.data.dir}/system${container.name.suffix}"/>

                      </properties>

                      <filters>

                        <filter property-type="Binary"/>

                      </filters>

                    </value-storage>

                  </value-storages>

                </container>

                <initializer>

                  <properties>

                    <property name="root-nodetype" value="nt:unstructured"/>

                    <property name="root-permissions" value="*:/platform/administrators read;*:/platform/administrators add_node;*:/platform/administrators set_property;*:/platform/administrators remove"/>

                  </properties>

                </initializer>

                <cache enabled="true">

                  <properties>

                    <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml" />

                    <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                    <property name="jgroups-multiplexer-stack" value="true" />

                    <property name="jbosscache-cluster-name" value="jcr-${container.name.suffix}-system" />

                  </properties>

                </cache>

                <query-handler>

                  <properties>

                    <property name="index-dir" value="${gatein.jcr.index.data.dir}/system${container.name.suffix}"/>

                    <property name="changesfilter-class" value="${gatein.jcr.index.changefilterclass}" />

                    <property name="jbosscache-configuration" value="conf/jcr/jbosscache/cluster/indexer-config.xml" />

                    <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                    <property name="jgroups-multiplexer-stack" value="true" />

                    <property name="jbosscache-cluster-name" value="jcrindexer-${container.name.suffix}-system" />

                    <property name="max-volatile-time" value="60" />

                  </properties>

                </query-handler>

                <lock-manager>

                  <properties>

                    <property name="time-out" value="15m" />

                    <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml" />

                    <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                    <property name="jgroups-multiplexer-stack" value="true" />

                    <property name="jbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system" />

                    <property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlock_system" />

                    <property name="jbosscache-cl-cache.jdbc.table.create" value="true" />

                    <property name="jbosscache-cl-cache.jdbc.table.drop" value="false" />

                    <property name="jbosscache-cl-cache.jdbc.table.primarykey" value="pk" />

                    <property name="jbosscache-cl-cache.jdbc.fqn.column" value="fqn" />

                    <property name="jbosscache-cl-cache.jdbc.node.column" value="node" />

                    <property name="jbosscache-cl-cache.jdbc.parent.column" value="parent" />

                    <property name="jbosscache-cl-cache.jdbc.datasource" value="${gatein.jcr.datasource.name}${container.name.suffix}" />

                  </properties>

                </lock-manager>

              </workspace>

       

              <!-- Portal system data -->

              <workspace name="portal-system">

                <container>

                  <properties>

                    <property name="source-name" value="${gatein.jcr.datasource.name}${container.name.suffix}"/>

                    <property name="dialect" value="${gatein.jcr.datasource.dialect}"/>

                    <property name="multi-db" value="false"/>

                    <property name="update-storage" value="true"/>

                    <property name="max-buffer-size" value="204800"/>

                    <property name="swap-directory" value="${gatein.jcr.data.dir}/swap/portal-system${container.name.suffix}"/>

                  </properties>

                  <value-storages>

                    <value-storage id="portal-system">

                      <properties>

                        <property name="path" value="${gatein.jcr.storage.data.dir}/portal-system${container.name.suffix}"/>

                      </properties>

                      <filters>

                        <filter property-type="Binary"/>

                      </filters>

                    </value-storage>

                  </value-storages>

                </container>

                <initializer>

                  <properties>

                    <property name="root-nodetype" value="nt:unstructured"/>

                    <property name="root-permissions" value="any read;*:/platform/administrators read;*:/platform/administrators add_node;*:/platform/administrators set_property;*:/platform/administrators remove"/>

                  </properties>

                </initializer>

                <cache enabled="true">

                  <properties>

                    <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml" />

                    <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                    <property name="jgroups-multiplexer-stack" value="true" />

                    <property name="jbosscache-cluster-name" value="jcr-${container.name.suffix}-portal-system" />

                  </properties>

                </cache>

                <query-handler>

                  <properties>

                    <property name="index-dir" value="${gatein.jcr.index.data.dir}/portal-system${container.name.suffix}"/>

                    <property name="changesfilter-class" value="${gatein.jcr.index.changefilterclass}" />

                    <property name="jbosscache-configuration" value="conf/jcr/jbosscache/cluster/indexer-config.xml" />

                    <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                    <property name="jgroups-multiplexer-stack" value="true" />

                    <property name="jbosscache-cluster-name" value="jcrindexer-${container.name.suffix}-portal-system" />

                    <property name="max-volatile-time" value="60" />

                  </properties>

                </query-handler>

                <lock-manager>

                  <properties>

                    <property name="time-out" value="15m" />

                    <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml" />

                    <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                    <property name="jgroups-multiplexer-stack" value="true" />

                    <property name="jbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system" />

                    <property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlock_portal_system" />

                    <property name="jbosscache-cl-cache.jdbc.table.create" value="true" />

                    <property name="jbosscache-cl-cache.jdbc.table.drop" value="false" />

                    <property name="jbosscache-cl-cache.jdbc.table.primarykey" value="pk" />

                    <property name="jbosscache-cl-cache.jdbc.fqn.column" value="fqn" />

                    <property name="jbosscache-cl-cache.jdbc.node.column" value="node" />

                    <property name="jbosscache-cl-cache.jdbc.parent.column" value="parent" />

                    <property name="jbosscache-cl-cache.jdbc.datasource" value="${gatein.jcr.datasource.name}${container.name.suffix}" />

                  </properties>

                </lock-manager>

              </workspace>

       

              <!-- Portal work data -->

              <workspace name="portal-work">

                <container>

                  <properties>

                    <property name="source-name" value="${gatein.jcr.datasource.name}${container.name.suffix}"/>

                    <property name="dialect" value="${gatein.jcr.datasource.dialect}"/>

                    <property name="multi-db" value="false"/>

                    <property name="update-storage" value="true"/>

                    <property name="max-buffer-size" value="204800"/>

                    <property name="swap-directory" value="${gatein.jcr.data.dir}/swap/portal-work${container.name.suffix}"/>

                  </properties>

                  <value-storages>

                    <value-storage id="portal-work">

                      <properties>

                        <property name="path" value="${gatein.jcr.storage.data.dir}/portal-work${container.name.suffix}"/>

                      </properties>

                      <filters>

                        <filter property-type="Binary"/>

                      </filters>

                    </value-storage>

                  </value-storages>

                </container>

                <initializer>

                  <properties>

                    <property name="root-nodetype" value="nt:unstructured"/>

                    <property name="root-permissions" value="any read;*:/platform/administrators read;*:/platform/administrators add_node;*:/platform/administrators set_property;*:/platform/administrators remove"/>

                  </properties>

                </initializer>

                <cache enabled="true">

                  <properties>

                    <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml" />

                    <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                    <property name="jgroups-multiplexer-stack" value="true" />

                    <property name="jbosscache-cluster-name" value="jcr-${container.name.suffix}-portal-work" />

                  </properties>

                </cache>

               <query-handler>

                <properties>

                  <property name="index-dir" value="${gatein.jcr.index.data.dir}/portal-work${container.name.suffix}"/>

                  <property name="changesfilter-class" value="${gatein.jcr.index.changefilterclass}" />

                  <property name="jbosscache-configuration" value="conf/jcr/jbosscache/cluster/indexer-config.xml" />

                  <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                  <property name="jgroups-multiplexer-stack" value="true" />

                  <property name="jbosscache-cluster-name" value="jcrindexer-${container.name.suffix}-portal-work" />

                  <property name="max-volatile-time" value="60" />

                </properties>

               </query-handler>

               <lock-manager>

                 <properties>

                   <property name="time-out" value="15m" />

                   <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml" />

                   <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                   <property name="jgroups-multiplexer-stack" value="true" />

                   <property name="jbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system" />

                   <property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlock_portal_work" />

                   <property name="jbosscache-cl-cache.jdbc.table.create" value="true" />

                   <property name="jbosscache-cl-cache.jdbc.table.drop" value="false" />

                   <property name="jbosscache-cl-cache.jdbc.table.primarykey" value="pk" />

                   <property name="jbosscache-cl-cache.jdbc.fqn.column" value="fqn" />

                   <property name="jbosscache-cl-cache.jdbc.node.column" value="node" />

                   <property name="jbosscache-cl-cache.jdbc.parent.column" value="parent" />

                   <property name="jbosscache-cl-cache.jdbc.datasource" value="${gatein.jcr.datasource.name}${container.name.suffix}" />

                 </properties>

               </lock-manager>

             </workspace>

       

             <!-- WSRP -->

             <workspace name="wsrp-system">

               <container>

                 <properties>

                   <property name="source-name" value="${gatein.jcr.datasource.name}${container.name.suffix}"/>

                     <property name="dialect" value="${gatein.jcr.datasource.dialect}"/>

                     <property name="multi-db" value="false"/>

                     <property name="update-storage" value="true"/>

                     <property name="max-buffer-size" value="204800"/>

                     <property name="swap-directory" value="${gatein.jcr.data.dir}/swap/wsrp${container.name.suffix}"/>

                   </properties>

                   <value-storages>

                     <value-storage id="gadgets"

                       >

                       <properties>

                         <property name="path" value="${gatein.jcr.storage.data.dir}/wsrp${container.name.suffix}"/>

                       </properties>

                       <filters>

                          <filter property-type="Binary"/>

                       </filters>

                     </value-storage>

                   </value-storages>

                 </container>

                 <initializer>

                   <properties>

                     <property name="root-nodetype" value="nt:unstructured"/>

                     <property name="root-permissions" value="any read;*:/platform/administrators read;*:/platform/administrators add_node;*:/platform/administrators set_property;*:/platform/administrators remove"/>

                   </properties>

                 </initializer>

                 <cache enabled="true">

                   <properties>

                     <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml" />

                     <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                     <property name="jgroups-multiplexer-stack" value="true" />

                     <property name="jbosscache-cluster-name" value="jcr-${container.name.suffix}-wsrp-system" />

                   </properties>

                 </cache>

                 <query-handler>

                   <properties>

                     <property name="index-dir" value="${gatein.jcr.index.data.dir}/wsrp-system${container.name.suffix}"/>

                     <property name="changesfilter-class" value="${gatein.jcr.index.changefilterclass}" />

                     <property name="jbosscache-configuration" value="conf/jcr/jbosscache/cluster/indexer-config.xml" />

                     <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                     <property name="jgroups-multiplexer-stack" value="true" />

                     <property name="jbosscache-cluster-name" value="jcrindexer-${container.name.suffix}-wsrp-system" />

                     <property name="max-volatile-time" value="60" />

                   </properties>

                 </query-handler>

                 <lock-manager>

                   <properties>

                     <property name="time-out" value="15m" />

                     <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml" />

                     <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml" />

                     <property name="jgroups-multiplexer-stack" value="true" />

                     <property name="jbosscache-cluster-namejbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system" />

                     <property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlock_wsrp_system" />

                     <property name="jbosscache-cl-cache.jdbc.table.create" value="true" />

                     <property name="jbosscache-cl-cache.jdbc.table.drop" value="false" />

                     <property name="jbosscache-cl-cache.jdbc.table.primarykey" value="pk" />

                     <property name="jbosscache-cl-cache.jdbc.fqn.column" value="fqn" />

                     <property name="jbosscache-cl-cache.jdbc.node.column" value="node" />

                     <property name="jbosscache-cl-cache.jdbc.parent.column" value="parent" />

                     <property name="jbosscache-cl-cache.jdbc.datasource" value="${gatein.jcr.datasource.name}${container.name.suffix}" />

                   </properties>

                 </lock-manager>

               </workspace>

       

               <!-- Producer portlet states -->

               <workspace name="pc-system">

                  <container>

                     <properties>

                        <property name="source-name" value="${gatein.jcr.datasource.name}${container.name.suffix}"/>

                        <property name="dialect" value="${gatein.jcr.datasource.dialect}"/>

                        <property name="multi-db" value="false"/>

                        <property name="update-storage" value="true"/>

                        <property name="max-buffer-size" value="204800"/>

                        <property name="swap-directory" value="${gatein.jcr.data.dir}/swap/pc${container.name.suffix}"/>

                     </properties>

                     <value-storages>

                        <value-storage id="gadgets">

                           <properties>

                              <property name="path" value="${gatein.jcr.storage.data.dir}/pc${container.name.suffix}"/>

                           </properties>

                           <filters>

                              <filter property-type="Binary"/>

                           </filters>

                        </value-storage>

                     </value-storages>

                  </container>

                  <initializer>

                     <properties>

                        <property name="root-nodetype" value="nt:unstructured"/>

                        <property name="root-permissions" value="any read;*:/platform/administrators read;*:/platform/administrators add_node;*:/platform/administrators set_property;*:/platform/administrators remove"/>

                     </properties>

                  </initializer>

                  <cache enabled="true"

                        >

                     <properties>

                        <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml"/>

                        <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml"/>

                        <property name="jgroups-multiplexer-stack" value="true"/>

                        <property name="jbosscache-cluster-name" value="jcr-${container.name.suffix}-pc-system"/>

                     </properties>

                  </cache>

                  <query-handler>

                     <properties>

                        <property name="index-dir" value="${gatein.jcr.index.data.dir}/pc-system${container.name.suffix}"/>

                        <property name="changesfilter-class" value="${gatein.jcr.index.changefilterclass}"/>

                        <property name="jbosscache-configuration" value="conf/jcr/jbosscache/cluster/indexer-config.xml"/>

                        <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml"/>

                        <property name="jgroups-multiplexer-stack" value="true"/>

                        <property name="jbosscache-cluster-name" value="jcrindexer-${container.name.suffix}-pc-system"/>

                        <property name="max-volatile-time" value="60"/>

                     </properties>

                  </query-handler>

                  <lock-manager>

                     <properties>

                        <property name="time-out" value="15m"/>

                        <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml"/>

                        <property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml"/>

                        <property name="jgroups-multiplexer-stack" value="true"/>

                        <property name="jbosscache-cluster-namejbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system"/>

                        <property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlock_portlet_state_system"/>

                        <property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>

                        <property name="jbosscache-cl-cache.jdbc.table.drop" value="false"/>

                        <property name="jbosscache-cl-cache.jdbc.table.primarykey" value="pk"/>

                        <property name="jbosscache-cl-cache.jdbc.fqn.column" value="fqn"/>

                        <property name="jbosscache-cl-cache.jdbc.node.column" value="node"/>

                        <property name="jbosscache-cl-cache.jdbc.parent.column" value="parent"/>

                        <property name="jbosscache-cl-cache.jdbc.datasource" value="${gatein.jcr.datasource.name}${container.name.suffix}"/>

                     </properties>

                  </lock-manager>

               </workspace>

       

            </workspaces>

          </repository>

        </repositories>

      </repository-service>