You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ct...@apache.org on 2011/06/08 02:33:23 UTC
svn commit: r1133217 - in /continuum/trunk: continuum-webapp/pom.xml
continuum-webapp/src/main/resources/META-INF/plexus/application.xml pom.xml
Author: ctan
Date: Wed Jun 8 00:33:23 2011
New Revision: 1133217
URL: http://svn.apache.org/viewvc?rev=1133217&view=rev
Log:
[CONTINUUM-2633] enabled second level caching
Modified:
continuum/trunk/continuum-webapp/pom.xml
continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
continuum/trunk/pom.xml
Modified: continuum/trunk/continuum-webapp/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/pom.xml?rev=1133217&r1=1133216&r2=1133217&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/pom.xml (original)
+++ continuum/trunk/continuum-webapp/pom.xml Wed Jun 8 00:33:23 2011
@@ -659,6 +659,20 @@ under the License.
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
</dependency>
+ <dependency>
+ <groupId>jpox</groupId>
+ <artifactId>jpox-ehcache</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ehcache</groupId>
+ <artifactId>ehcache</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
</dependencies>
<profiles>
<profile>
Modified: continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml?rev=1133217&r1=1133216&r2=1133217&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml (original)
+++ continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml Wed Jun 8 00:33:23 2011
@@ -205,6 +205,22 @@
<name>org.jpox.rdbms.dateTimezone</name>
<value>JDK_DEFAULT_TIMEZONE</value>
</property>
+ <property>
+ <name>org.jpox.cache.level2</name>
+ <value>true</value>
+ </property>
+ <property>
+ <name>org.jpox.cache.level2.type</name>
+ <value>ehcacheclassbased</value>
+ </property>
+ <property>
+ <name>org.jpox.cache.level2.configurationFile</name>
+ <value>/ehcache.xml</value>
+ </property>
+ <property>
+ <name>org.jpox.cache.level2.cacheName</name>
+ <value>default</value>
+ </property>
<!-- this is required for some MySQL versions and configurations, see CONTINUUM-1113 -->
<property>
<name>org.jpox.rdbms.stringDefaultLength</name>
Modified: continuum/trunk/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/pom.xml?rev=1133217&r1=1133216&r2=1133217&view=diff
==============================================================================
--- continuum/trunk/pom.xml (original)
+++ continuum/trunk/pom.xml Wed Jun 8 00:33:23 2011
@@ -1635,6 +1635,11 @@ under the License.
<artifactId>jsoup</artifactId>
<version>1.5.2</version>
</dependency>
+ <dependency>
+ <groupId>jpox</groupId>
+ <artifactId>jpox-ehcache</artifactId>
+ <version>1.1.9</version>
+ </dependency>
</dependencies>
</dependencyManagement>