Scarab commit: svn commit: r10344 - trunk: . src/conf/classes src/conf/conf src/webapp/WEB-INF www/repository/commons-fileupload/jars www/repository/commons-io www/repository/commons-io/jars www/repository/concurrent www/repository/concurrent/jars www/repository/jcs/jars

[email protected]
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: ronvoe122
Date: 2006-11-08 08:50:17-0800
New Revision: 10344

Added:
   trunk/src/conf/conf/JCSAdminServlet.properties
      - copied unchanged from r10320, /branches/release/b21/src/conf/conf/JCSAdminServlet.properties
   trunk/www/repository/commons-fileupload/jars/commons-fileupload-1.1.1.jar
      - copied unchanged from r10320, /branches/release/b21/www/repository/commons-fileupload/jars/commons-fileupload-1.1.1.jar
   trunk/www/repository/commons-io/
      - copied from r10320, /branches/release/b21/www/repository/commons-io/
   trunk/www/repository/commons-io/jars/
      - copied from r10320, /branches/release/b21/www/repository/commons-io/jars/
   trunk/www/repository/commons-io/jars/commons-io-1.2.jar
      - copied unchanged from r10320, /branches/release/b21/www/repository/commons-io/jars/commons-io-1.2.jar
   trunk/www/repository/concurrent/
      - copied from r10320, /branches/release/b21/www/repository/concurrent/
   trunk/www/repository/concurrent/jars/
      - copied from r10320, /branches/release/b21/www/repository/concurrent/jars/
   trunk/www/repository/concurrent/jars/concurrent-1.3.4.jar
      - copied unchanged from r10320, /branches/release/b21/www/repository/concurrent/jars/concurrent-1.3.4.jar
   trunk/www/repository/jcs/jars/jcs-1.2.7.9.2.jar
      - copied unchanged from r10320, /branches/release/b21/www/repository/jcs/jars/jcs-1.2.7.9.2.jar
Removed:
   trunk/www/repository/commons-fileupload/jars/commons-fileupload-1.0.jar
   trunk/www/repository/jcs/jars/jcs-1.0-dev.jar
Modified:
   trunk/   (props changed)
   trunk/project.xml
   trunk/src/conf/classes/cache.ccf
   trunk/src/webapp/WEB-INF/web.xml

Log:
Merged revisions 10320 via svnmerge from 
http://scarab.tigris.org/svn/scarab/branches/release/b21

........
  r10320 | ronvoe122 | 2006-11-02 20:14:19 +0100 (Do, 02 Nov 2006) | 23 lines
  
  Adjusted configuration of JCS and TurbineCacheService and upgraded JCS to a recent version:
  - removed the configuration for a cache region, which is never used and added a configuration for a region which is used, but was not configured
    - cache.ccf
  
  - increased the interval in which the turbineCacheService checks for expired objects in JCS from 5ms to 5s
     - componentConfiguration.xml
  
  - added the basic configuation for the JCSAdminServlet, which can be used to monitor the cache activity
     - to use the servlet the velocity templates of the servlet have to be downloaded an placed in the class path of Scarab
     - web.xml, JCSAdminServlet.properties
  
  - upgraded the JCS from 1.0 to 1.2.7.9.2
     - more stable, the upgrade is recommended in the JCS-dev-mailinglist
     - it saves one thread per configured cache region
        - jcs1.0 started one thread per region to move the data from the memory cache to the disk cache, 
          even if there is no disk cache configured (as in Scarab).
     - the JCSAdminServlet runs stable with this release
     - jcs-1.2.7.9.2.jar, concurrent-1.3.4.jar
  
  - upgraded commons-fileupload to v1.1.1
     - a class in commons-fileupload which is put in the JCS-cache was not serializable
     - commons-fileupload-1.1.1.jar, commons-io-1.2.jar        
     
........


Modified: trunk/project.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/project.xml?view=diff&rev=10344&p1=trunk/project.xml&p2=trunk/project.xml&r1=10343&r2=10344
==============================================================================
--- trunk/project.xml	(original)
+++ trunk/project.xml	2006-11-08 08:50:17-0800
@@ -262,7 +262,7 @@
     <dependency>
       <groupId>commons-fileupload</groupId>
       <artifactId>commons-fileupload</artifactId>
-      <version>1.0</version>
+      <version>1.1.1</version>
       <type>jar</type>
       <properties>
         <war.bundle>true</war.bundle>
@@ -270,6 +270,16 @@
       <url>http://jakarta.apache.org/commons/fileupload/index.html</url>
     </dependency>
     <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>1.2</version>
+      <type>jar</type>
+      <properties>
+        <war.bundle>true</war.bundle>
+      </properties>
+      <url>http://jakarta.apache.org/commons/io/index.html</url>
+    </dependency>
+    <dependency>
       <groupId>commons-lang</groupId>
       <artifactId>commons-lang</artifactId>
       <version>2.0</version>
@@ -333,6 +343,16 @@
       </properties>
     </dependency>
     <dependency>
+      <groupId>concurrent</groupId>
+      <artifactId>concurrent</artifactId>
+      <version>1.3.4</version>
+      <type>jar</type>
+      <properties>
+        <war.bundle>true</war.bundle>
+      </properties>
+      <url>http://g.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html</url>
+    </dependency>
+    <dependency>
       <groupId>dnsjava</groupId>
       <artifactId>dnsjava</artifactId>
       <version>1.3.1</version>
@@ -390,7 +410,7 @@
     <dependency>
       <groupId>jcs</groupId>
       <artifactId>jcs</artifactId>
-      <version>1.0-dev</version>
+      <version>1.2.7.9.2</version>
       <type>jar</type>
       <properties>
         <war.bundle>true</war.bundle>

Modified: trunk/src/conf/classes/cache.ccf
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/conf/classes/cache.ccf?view=diff&rev=10344&p1=trunk/src/conf/classes/cache.ccf&p2=trunk/src/conf/classes/cache.ccf&r1=10343&r2=10344
==============================================================================
--- trunk/src/conf/classes/cache.ccf	(original)
+++ trunk/src/conf/classes/cache.ccf	2006-11-08 08:50:17-0800
@@ -6,15 +6,6 @@
 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache

 jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes

 

-# this is copied from example, not sure of its utility

-# SYSTEM CACHE

-# should be defined for the storage of group attribute list

-jcs.system.groupIdCache=

-jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes

-jcs.system.groupIdCache.cacheattributes.MaxObjects=1000

-jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache

-jcs.system.groupIdCache.elementattributes=org.apache.jcs.engine.ElementAttributes

-

 # CACHE REGIONS AVAILABLE 

 # Regions preconfigured for caching

 

@@ -108,5 +99,10 @@
 jcs.region.org_tigris_scarab_om_GlobalParameter.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache

 jcs.region.org_tigris_scarab_om_GlobalParameter.elementattributes=org.apache.jcs.engine.ElementAttributes

 

+jcs.region.org_tigris_scarab_om_DependType=

+jcs.region.org_tigris_scarab_om_DependType.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes

+jcs.region.org_tigris_scarab_om_DependType.cacheattributes.MaxObjects=1000

+jcs.region.org_tigris_scarab_om_DependType.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache

+jcs.region.org_tigris_scarab_om_DependType.elementattributes=org.apache.jcs.engine.ElementAttributes

 

 @JCS_CACHE_PROPERTIES@


Modified: trunk/src/webapp/WEB-INF/web.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/web.xml?view=diff&rev=10344&p1=trunk/src/webapp/WEB-INF/web.xml&p2=trunk/src/webapp/WEB-INF/web.xml&r1=10343&r2=10344
==============================================================================
--- trunk/src/webapp/WEB-INF/web.xml	(original)
+++ trunk/src/webapp/WEB-INF/web.xml	2006-11-08 08:50:17-0800
@@ -31,6 +31,14 @@
         <servlet-name>Notificator</servlet-name>
         <servlet-class>org.tigris.scarab.notification.ScarabNewNotificationManager</servlet-class>
     </servlet>
+    <servlet>
+        <servlet-name>JCSAdminServlet</servlet-name>
+        <servlet-class>org.apache.jcs.admin.servlet.JCSAdminServlet</servlet-class>
+        <init-param>
+            <param-name>properties</param-name>
+            <param-value>WEB-INF/conf/JCSAdminServlet.properties</param-value>
+        </init-param>
+    </servlet>
 
     
 <!--
@@ -111,6 +119,11 @@
     </servlet-mapping>
 
     <servlet-mapping>
+        <servlet-name>JCSAdminServlet</servlet-name>
+        <url-pattern>/JCSAdminServlet</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
         <servlet-name>AxisServlet</servlet-name>
         <url-pattern>*.jws</url-pattern>
     </servlet-mapping>

Removed: trunk/www/repository/commons-fileupload/jars/commons-fileupload-1.0.jar
Url: http://scarab.tigris.org/source/browse/scarab/trunk/www/repository/commons-fileupload/jars/commons-fileupload-1.0.jar?view=auto&rev=10343

Removed: trunk/www/repository/jcs/jars/jcs-1.0-dev.jar
Url: http://scarab.tigris.org/source/browse/scarab/trunk/www/repository/jcs/jars/jcs-1.0-dev.jar?view=auto&rev=10343
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.