Author: thomas.heute(a)jboss.com
Date: 2010-03-02 12:00:21 -0500 (Tue, 02 Mar 2010)
New Revision: 1928
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml
Log:
GTNPORTAL-770: Enable JBoss Cache on the MOPSessionManager
Formatting issue when merged
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml
===================================================================
---
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml 2010-03-02
16:57:46 UTC (rev 1927)
+++
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml 2010-03-02
17:00:21 UTC (rev 1928)
@@ -194,17 +194,16 @@
</component-plugins>
</component>
- <component>
- <key>org.exoplatform.services.cache.ExoCacheFactory</key>
- <type>org.exoplatform.services.cache.impl.jboss.ExoCacheFactoryImpl
- </type>
- <init-params>
- <value-param>
- <name>cache.config.template</name>
- <value>classpath:/conf/jcr/jbosscache/cluster/config.xml</value>
- </value-param>
- </init-params>
- </component>
+ <component>
+ <key>org.exoplatform.services.cache.ExoCacheFactory</key>
+
<type>org.exoplatform.services.cache.impl.jboss.ExoCacheFactoryImpl</type>
+ <init-params>
+ <value-param>
+ <name>cache.config.template</name>
+ <value>classpath:/conf/jcr/jbosscache/cluster/config.xml</value>
+ </value-param>
+ </init-params>
+ </component>
<external-component-plugins>
<target-component>org.exoplatform.services.organization.OrganizationService</target-component>
@@ -276,54 +275,49 @@
</component-plugin>
</external-component-plugins>
- <external-component-plugins>
- <target-component>org.exoplatform.services.cache.ExoCacheFactory
- </target-component>
- <component-plugin>
- <name>addCreator</name>
- <set-method>addCreator</set-method>
- <type>org.exoplatform.services.cache.impl.jboss.ExoCacheCreatorPlugin
- </type>
- <description>add Exo Cache Creator</description>
- <init-params>
- <object-param>
- <name>LRU</name>
- <description>The LRU cache creator</description>
- <object
- type="org.exoplatform.services.cache.impl.jboss.lru.LRUExoCacheCreator"></object>
- </object-param>
- </init-params>
- </component-plugin>
- </external-component-plugins>
+ <external-component-plugins>
+
<target-component>org.exoplatform.services.cache.ExoCacheFactory</target-component>
+ <component-plugin>
+ <name>addCreator</name>
+ <set-method>addCreator</set-method>
+
<type>org.exoplatform.services.cache.impl.jboss.ExoCacheCreatorPlugin</type>
+ <description>add Exo Cache Creator</description>
+ <init-params>
+ <object-param>
+ <name>LRU</name>
+ <description>The LRU cache creator</description>
+ <object
type="org.exoplatform.services.cache.impl.jboss.lru.LRUExoCacheCreator"></object>
+ </object-param>
+ </init-params>
+ </component-plugin>
+ </external-component-plugins>
- <external-component-plugins>
- <target-component>org.exoplatform.services.cache.CacheService
- </target-component>
- <component-plugin>
- <name>addExoCacheConfig</name>
- <set-method>addExoCacheConfig</set-method>
- <type>org.exoplatform.services.cache.ExoCacheConfigPlugin</type>
- <description>add Exo Cache Config</description>
- <init-params>
- <object-param>
- <name>cache.config.PomSessionManager</name>
- <description>The JBoss Cache LRU configuration</description>
- <object
- type="org.exoplatform.services.cache.impl.jboss.lru.LRUExoCacheConfig">
- <field name="name">
- <string>PomSessionManager</string>
- </field>
- <field name="maxNodes">
- <int>10000</int>
- </field>
- <field name="minTimeToLive">
- <long>60000</long>
- </field>
- </object>
- </object-param>
- </init-params>
- </component-plugin>
- </external-component-plugins>
+ <external-component-plugins>
+
<target-component>org.exoplatform.services.cache.CacheService</target-component>
+ <component-plugin>
+ <name>addExoCacheConfig</name>
+ <set-method>addExoCacheConfig</set-method>
+ <type>org.exoplatform.services.cache.ExoCacheConfigPlugin</type>
+ <description>add Exo Cache Config</description>
+ <init-params>
+ <object-param>
+ <name>cache.config.PomSessionManager</name>
+ <description>The JBoss Cache LRU configuration</description>
+ <object
type="org.exoplatform.services.cache.impl.jboss.lru.LRUExoCacheConfig">
+ <field name="name">
+ <string>PomSessionManager</string>
+ </field>
+ <field name="maxNodes">
+ <int>10000</int>
+ </field>
+ <field name="minTimeToLive">
+ <long>60000</long>
+ </field>
+ </object>
+ </object-param>
+ </init-params>
+ </component-plugin>
+ </external-component-plugins>
</configuration>
Show replies by date