Author: thomas.heute(a)jboss.com
Date: 2010-03-03 11:52:07 -0500 (Wed, 03 Mar 2010)
New Revision: 1952
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml
Log:
GTNPORTAL-770: Enable JBoss Cache on the MOPSessionManager
Was defaulting to the default cache...
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-03
16:33:01 UTC (rev 1951)
+++
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml 2010-03-03
16:52:07 UTC (rev 1952)
@@ -205,6 +205,47 @@
</init-params>
</component>
+ <component>
+<type>org.exoplatform.container.definition.PortalContainerConfig</type>
+<component-plugins>
+ <component-plugin> <!-- The name of the plugin --> <name>Add
PortalContainer Definitions</name> <!-- The name of the method to call on the
PortalContainerConfig in order to register the PortalContainerDefinitions -->
<set-method>registerPlugin</set-method> <!-- The full qualified name of
the PortalContainerDefinitionPlugin -->
+
<type>org.exoplatform.container.definition.PortalContainerDefinitionPlugin</type>
+ <init-params>
+ <object-param>
+ <name>portal</name>
+ <object
type="org.exoplatform.container.definition.PortalContainerDefinition">
+ <!-- The name of the portal container -->
+ <field name="name"><string>portal</string></field>
+ <!-- The name of the context name of the rest web application -->
+ <field
name="restContextName"><string>rest</string></field>
+ <!-- The name of the realm -->
+ <field
name="realmName"><string>gatein-domain</string></field>
+ <!-- All the dependencies of the portal container ordered by loading priority
-->
+ <field name="settings">
+ <map type="java.util.HashMap">
+ <entry>
+ <key>
+ <string>url</string>
+ </key>
+ <value>
+ <string>value</string>
+ </value>
+ </entry>
+ </map>
+ </field>
+ <field name="externalSettingsPath">
+ <string>file://tmp/configuration.properties</string>
+ </field>
+
+
+ <field name="dependencies">
+ <collection type="java.util.ArrayList">
+ <value>
+ <string>eXoResources</string>
+</value> <value> <string>portal</string> </value>
<value> <string>dashboard</string> </value> <value>
<string>exoadmin</string> </value> <value>
<string>eXoGadgets</string> </value> <value>
<string>eXoGadgetServer</string> </value> <value>
<string>rest</string> </value> <value>
<string>web</string> </value> </collection> </field>
</object> </object-param> </init-params> </component-plugin>
+</component-plugins>
+</component>
+
<external-component-plugins>
<target-component>org.exoplatform.services.organization.OrganizationService</target-component>
<component-plugin>
@@ -301,11 +342,11 @@
<description>add Exo Cache Config</description>
<init-params>
<object-param>
- <name>cache.config.PomSessionManager</name>
+ <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>
+ <string>POMSessionManager</string>
</field>
<field name="maxNodes">
<int>10000</int>
@@ -318,6 +359,7 @@
</init-params>
</component-plugin>
</external-component-plugins>
-
+
+
</configuration>
Show replies by date