You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by dd...@apache.org on 2008/10/20 14:26:16 UTC

svn commit: r706258 - in /portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources: assembly/cache.xml assembly/jetspeed-base.xml conf/jetspeed/spring-filter.properties

Author: ddam
Date: Mon Oct 20 05:26:15 2008
New Revision: 706258

URL: http://svn.apache.org/viewvc?rev=706258&view=rev
Log:
move PageFileCache bean to cache category, add cache category to pageSerializer group

Modified:
    portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/cache.xml
    portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/jetspeed-base.xml
    portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/conf/jetspeed/spring-filter.properties

Modified: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/cache.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/cache.xml?rev=706258&r1=706257&r2=706258&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/cache.xml (original)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/cache.xml Mon Oct 20 05:26:15 2008
@@ -1,262 +1,276 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
 -->
 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
-
-  <bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <!--  get it through the class path
-      <property name="configLocation" value="${applicationRoot}/WEB-INF/conf/ehcache.xml"/>
-    -->
-  </bean>
-
-  <!-- Factory bean used to instantiate a EHCache with the specified name (and corresponding
-    configuration in cacheManager.xml -->
-  <bean id="ehPortletContentCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="portletContentCache" />
-  </bean>
-
-  <bean id="ContentCacheKeyGenerator" class="org.apache.jetspeed.cache.impl.JetspeedCacheKeyGenerator">
-    <meta key="j2:cat" value="default,cache" />
-    <!-- Keys are order specific in the list:
-      where username  == the user principal name of the current user
-      pipeline  == the name of the active pipeline for the current request (portal | desktop)
-      windowid  == the window id (fragment id) of the portlet
-      sessionid == the current session id 
-      request.{param.name} == request parameter name, such "request.myparam"
-      session.{attribute-name} == session attribute name, such "session.myattribute"
-      
-      username|sessionid AND windowid are required
-    -->
-    <constructor-arg index='0'>
-      <list>
-        <value>sessionid</value>
-        <value>pipeline</value>
-        <value>windowid</value>
-      </list>
-    </constructor-arg>
-  </bean>
-
-  <bean id="portletContentCache" class="org.apache.jetspeed.cache.impl.EhPortletContentCacheImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg index="0">
-      <ref bean="ehPortletContentCache" />
-    </constructor-arg>
-    <constructor-arg index="1">
-      <ref bean="preferencesCache" />
-    </constructor-arg>
-    <constructor-arg index="2">
-      <ref bean="ContentCacheKeyGenerator" />
-    </constructor-arg>
-  </bean>
-
-  <bean id="ehDecorationContentCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="decorationContentCache" />
-  </bean>
-
-  <bean id="decorationContentCache" class="org.apache.jetspeed.cache.impl.EhDecorationContentCacheImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg index="0">
-      <ref bean="ehDecorationContentCache" />
-    </constructor-arg>
-    <constructor-arg index="1">
-      <ref bean="preferencesCache" />
-    </constructor-arg>
-    <constructor-arg index="2">
-      <ref bean="ContentCacheKeyGenerator" />
-    </constructor-arg>
-  </bean>
-
-  <bean id="ehDecorationConfigurationCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="decorationConfigurationCache" />
-  </bean>
-
-  <bean id="decorationConfigurationCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg>
-      <ref bean="ehDesktopContentCache" />
-    </constructor-arg>
-  </bean>
-
-  <bean id="ehPreferencesCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="preferencesCache" />
-  </bean>
-
-  <bean id="preferencesCache" class="org.apache.jetspeed.cache.impl.EhCacheDistributedImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg>
-      <ref bean="ehPreferencesCache" />
-    </constructor-arg>
-  </bean>
-
-  <bean id="ehPortletApplicationOidCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="portletApplicationOidCache" />
-  </bean>
-
-  <bean id="ehPortletApplicationNameCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="portletApplicationNameCache" />
-  </bean>
-
-  <bean id="ehDesktopContentCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="desktopContentCache" />
-  </bean>
-
-  <bean id="portletApplicationOidCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg>
-      <ref bean="ehPortletApplicationOidCache" />
-    </constructor-arg>
-  </bean>
-
-  <bean id="portletApplicationNameCache" class="org.apache.jetspeed.cache.impl.EhCacheDistributedImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg>
-      <ref bean="ehPortletApplicationNameCache" />
-    </constructor-arg>
-  </bean>
-
-  <bean id="desktopContentCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg>
-      <ref bean="ehDesktopContentCache" />
-    </constructor-arg>
-  </bean>
-
-  <bean id="ehPortletDefinitionOidCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="portletDefinitionOidCache" />
-  </bean>
-
-  <bean id="ehPortletDefinitionNameCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="portletDefinitionNameCache" />
-  </bean>
-
-
-  <bean id="portletDefinitionOidCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg>
-      <ref bean="ehPortletDefinitionOidCache" />
-    </constructor-arg>
-  </bean>
-
-  <bean id="portletDefinitionNameCache" class="org.apache.jetspeed.cache.impl.EhCacheDistributedImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg>
-      <ref bean="ehPortletDefinitionNameCache" />
-    </constructor-arg>
-  </bean>
-
-  <!--  Active Authentication Cache: only use with Active Authentication -->
-  <!-- Factory bean used to instantiate a EHCache with the specified name (and corresponding
-    configuration in cacheManager.xml -->
-  <bean id="ehActiveAuthenticationCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="activeAuthenticationCache" />
-  </bean>
-
-  <bean id="activeAuthenticationCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg index="0">
-      <ref bean="ehActiveAuthenticationCache" />
-    </constructor-arg>
-  </bean>
-
-  <bean id="ehPortletWindowCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="portletWindowCache" />
-  </bean>
-
-  <bean id="portletWindowCache" class="org.apache.jetspeed.cache.impl.EhPortletWindowCache">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg index="0">
-      <ref bean="ehPortletWindowCache" />
-    </constructor-arg>
-  </bean>
-  
-  <bean id="ehInternalPageFileCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="pageFileCache" />
-  </bean>
-  
-  <bean id="internalPageFileCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg>
-      <ref bean="ehInternalPageFileCache" />
-    </constructor-arg>
-  </bean>
-  
-  <bean id="ehInternalImportPageFileCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
-    <meta key="j2:cat" value="default,cache" />
-    <property name="cacheManager">
-      <ref local="cacheManager" />
-    </property>
-    <property name="cacheName" value="importPageFileCache" />
-  </bean>
-  
-  <bean id="internalImportPageFileCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
-    <meta key="j2:cat" value="default,cache" />
-    <constructor-arg>
-      <ref bean="ehInternalImportPageFileCache" />
-    </constructor-arg>
-  </bean>
-
+    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+    
+    <bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <!--  get it through the class path
+            <property name="configLocation" value="${applicationRoot}/WEB-INF/conf/ehcache.xml"/>
+        -->
+    </bean>
+    
+    <!-- Page File Cache -->
+    <bean id="PageFileCache" class="org.apache.jetspeed.cache.file.FileCache" init-method="startFileScanner"
+        destroy-method="stopFileScanner">
+        <meta key="j2:cat" value="default,cache" />
+        <!-- Internal cache -->
+        <constructor-arg index="0">
+            <ref bean="internalPageFileCache" />
+        </constructor-arg>
+        <!-- Scan rate for changes in cached files on the file system -->
+        <constructor-arg index="1">
+            <value>${page.file.cache.scanRate}</value>
+        </constructor-arg>
+    </bean>
+    
+    <!-- Factory bean used to instantiate a EHCache with the specified name (and corresponding
+        configuration in cacheManager.xml -->
+    <bean id="ehPortletContentCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="portletContentCache" />
+    </bean>
+    
+    <bean id="ContentCacheKeyGenerator" class="org.apache.jetspeed.cache.impl.JetspeedCacheKeyGenerator">
+        <meta key="j2:cat" value="default,cache" />
+        <!-- Keys are order specific in the list:
+            where username  == the user principal name of the current user
+            pipeline  == the name of the active pipeline for the current request (portal | desktop)
+            windowid  == the window id (fragment id) of the portlet
+            sessionid == the current session id 
+            request.{param.name} == request parameter name, such "request.myparam"
+            session.{attribute-name} == session attribute name, such "session.myattribute"
+            
+            username|sessionid AND windowid are required
+        -->
+        <constructor-arg index='0'>
+            <list>
+                <value>sessionid</value>
+                <value>pipeline</value>
+                <value>windowid</value>
+            </list>
+        </constructor-arg>
+    </bean>
+    
+    <bean id="portletContentCache" class="org.apache.jetspeed.cache.impl.EhPortletContentCacheImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg index="0">
+            <ref bean="ehPortletContentCache" />
+        </constructor-arg>
+        <constructor-arg index="1">
+            <ref bean="preferencesCache" />
+        </constructor-arg>
+        <constructor-arg index="2">
+            <ref bean="ContentCacheKeyGenerator" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="ehDecorationContentCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="decorationContentCache" />
+    </bean>
+    
+    <bean id="decorationContentCache" class="org.apache.jetspeed.cache.impl.EhDecorationContentCacheImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg index="0">
+            <ref bean="ehDecorationContentCache" />
+        </constructor-arg>
+        <constructor-arg index="1">
+            <ref bean="preferencesCache" />
+        </constructor-arg>
+        <constructor-arg index="2">
+            <ref bean="ContentCacheKeyGenerator" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="ehDecorationConfigurationCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="decorationConfigurationCache" />
+    </bean>
+    
+    <bean id="decorationConfigurationCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg>
+            <ref bean="ehDesktopContentCache" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="ehPreferencesCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="preferencesCache" />
+    </bean>
+    
+    <bean id="preferencesCache" class="org.apache.jetspeed.cache.impl.EhCacheDistributedImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg>
+            <ref bean="ehPreferencesCache" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="ehPortletApplicationOidCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="portletApplicationOidCache" />
+    </bean>
+    
+    <bean id="ehPortletApplicationNameCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="portletApplicationNameCache" />
+    </bean>
+    
+    <bean id="ehDesktopContentCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="desktopContentCache" />
+    </bean>
+    
+    <bean id="portletApplicationOidCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg>
+            <ref bean="ehPortletApplicationOidCache" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="portletApplicationNameCache" class="org.apache.jetspeed.cache.impl.EhCacheDistributedImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg>
+            <ref bean="ehPortletApplicationNameCache" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="desktopContentCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg>
+            <ref bean="ehDesktopContentCache" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="ehPortletDefinitionOidCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="portletDefinitionOidCache" />
+    </bean>
+    
+    <bean id="ehPortletDefinitionNameCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="portletDefinitionNameCache" />
+    </bean>
+    
+    
+    <bean id="portletDefinitionOidCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg>
+            <ref bean="ehPortletDefinitionOidCache" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="portletDefinitionNameCache" class="org.apache.jetspeed.cache.impl.EhCacheDistributedImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg>
+            <ref bean="ehPortletDefinitionNameCache" />
+        </constructor-arg>
+    </bean>
+    
+    <!--  Active Authentication Cache: only use with Active Authentication -->
+    <!-- Factory bean used to instantiate a EHCache with the specified name (and corresponding
+        configuration in cacheManager.xml -->
+    <bean id="ehActiveAuthenticationCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="activeAuthenticationCache" />
+    </bean>
+    
+    <bean id="activeAuthenticationCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg index="0">
+            <ref bean="ehActiveAuthenticationCache" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="ehPortletWindowCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="portletWindowCache" />
+    </bean>
+    
+    <bean id="portletWindowCache" class="org.apache.jetspeed.cache.impl.EhPortletWindowCache">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg index="0">
+            <ref bean="ehPortletWindowCache" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="ehInternalPageFileCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="pageFileCache" />
+    </bean>
+    
+    <bean id="internalPageFileCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg>
+            <ref bean="ehInternalPageFileCache" />
+        </constructor-arg>
+    </bean>
+    
+    <bean id="ehInternalImportPageFileCache" class="org.springframework.cache.ehcache.EhCacheFactoryBean">
+        <meta key="j2:cat" value="default,cache" />
+        <property name="cacheManager">
+            <ref local="cacheManager" />
+        </property>
+        <property name="cacheName" value="importPageFileCache" />
+    </bean>
+    
+    <bean id="internalImportPageFileCache" class="org.apache.jetspeed.cache.impl.EhCacheImpl">
+        <meta key="j2:cat" value="default,cache" />
+        <constructor-arg>
+            <ref bean="ehInternalImportPageFileCache" />
+        </constructor-arg>
+    </bean>
+    
 </beans>

Modified: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/jetspeed-base.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/jetspeed-base.xml?rev=706258&r1=706257&r2=706258&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/jetspeed-base.xml (original)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/assembly/jetspeed-base.xml Mon Oct 20 05:26:15 2008
@@ -1,53 +1,39 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
 -->
 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
-
-  <!-- ID Generator -->
-  <bean id="IdGenerator" class="org.apache.jetspeed.idgenerator.JetspeedIdGenerator" init-method="start"
-    destroy-method="stop">
-    <meta key="j2:cat" value="default,base" />
-    <!-- ID Start value -->
-    <constructor-arg index="0">
-      <value>${portal.core.id.generator.start}</value>
-    </constructor-arg>
-    <!-- ID Prefix -->
-    <constructor-arg index="1">
-      <value>${portal.core.id.prefix}</value>
-    </constructor-arg>
-    <!-- ID Suffix -->
-    <constructor-arg index="2">
-      <value></value>
-    </constructor-arg>
-  </bean>
-
-  <!-- Page File Cache -->
-  <bean id="PageFileCache" class="org.apache.jetspeed.cache.file.FileCache" init-method="startFileScanner"
-    destroy-method="stopFileScanner">
-    <meta key="j2:cat" value="default,base" />
-    <!-- Internal cache -->
-    <constructor-arg index="0">
-      <ref bean="internalPageFileCache" />
-    </constructor-arg>
-    <!-- Scan rate for changes in cached files on the file system -->
-    <constructor-arg index="1">
-      <value>${page.file.cache.scanRate}</value>
-    </constructor-arg>
-  </bean>
-
+    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+    
+    <!-- ID Generator -->
+    <bean id="IdGenerator" class="org.apache.jetspeed.idgenerator.JetspeedIdGenerator" init-method="start"
+        destroy-method="stop">
+        <meta key="j2:cat" value="default,base" />
+        <!-- ID Start value -->
+        <constructor-arg index="0">
+            <value>${portal.core.id.generator.start}</value>
+        </constructor-arg>
+        <!-- ID Prefix -->
+        <constructor-arg index="1">
+            <value>${portal.core.id.prefix}</value>
+        </constructor-arg>
+        <!-- ID Suffix -->
+        <constructor-arg index="2">
+            <value></value>
+        </constructor-arg>
+    </bean>
+    
 </beans>

Modified: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/conf/jetspeed/spring-filter.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/conf/jetspeed/spring-filter.properties?rev=706258&r1=706257&r2=706258&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/conf/jetspeed/spring-filter.properties (original)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/jetspeed-portal-resources/src/main/resources/conf/jetspeed/spring-filter.properties Mon Oct 20 05:26:15 2008
@@ -37,4 +37,4 @@
 serializer=${baseSerializer},dbSecurity
 serializer.ldap=${baseSerializer},ldapSecurity
 
-pageSerializer=jdbcDS,base,pageSerializer,transaction,springProperties,security,dbSecurity
+pageSerializer=jdbcDS,base,pageSerializer,transaction,springProperties,security,dbSecurity,cache



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org