You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tv...@apache.org on 2014/04/02 10:54:17 UTC
svn commit: r1583933 - in /commons/proper/jcs/trunk: src/conf/
src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/
src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/ xdocs/
Author: tv
Date: Wed Apr 2 08:54:16 2014
New Revision: 1583933
URL: http://svn.apache.org/r1583933
Log:
Fixed a few doc issues and references to old MySQL drivers. Thanks to Al Forbes for the hints.
Modified:
commons/proper/jcs/trunk/src/conf/remote.tomcat.xml
commons/proper/jcs/trunk/src/conf/tomcat.xml
commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCachePoolAccessFactory.java
commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCacheUnitTest.java
commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLTableOptimizerManualTester.java
commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml
commons/proper/jcs/trunk/xdocs/RemoteAuxCache.xml
Modified: commons/proper/jcs/trunk/src/conf/remote.tomcat.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/conf/remote.tomcat.xml?rev=1583933&r1=1583932&r2=1583933&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/conf/remote.tomcat.xml (original)
+++ commons/proper/jcs/trunk/src/conf/remote.tomcat.xml Wed Apr 2 08:54:16 2014
@@ -216,7 +216,7 @@
connectionName="scott"
connectionPassword="tiger"
- driverName="org.gjt.mm.mysql.Driver"
+ driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="test"
connectionPassword="test"
Modified: commons/proper/jcs/trunk/src/conf/tomcat.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/conf/tomcat.xml?rev=1583933&r1=1583932&r2=1583933&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/conf/tomcat.xml (original)
+++ commons/proper/jcs/trunk/src/conf/tomcat.xml Wed Apr 2 08:54:16 2014
@@ -216,7 +216,7 @@
connectionName="scott"
connectionPassword="tiger"
- driverName="org.gjt.mm.mysql.Driver"
+ driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="test"
connectionPassword="test"
Modified: commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCachePoolAccessFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCachePoolAccessFactory.java?rev=1583933&r1=1583932&r2=1583933&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCachePoolAccessFactory.java (original)
+++ commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCachePoolAccessFactory.java Wed Apr 2 08:54:16 2014
@@ -80,7 +80,7 @@ public class JDBCDiskCachePoolAccessFact
try
{
- // org.gjt.mm.mysql.Driver
+ // com.mysql.jdbc.Driver
Class.forName( driverClassName );
}
catch ( ClassNotFoundException e )
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCacheUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCacheUnitTest.java?rev=1583933&r1=1583932&r2=1583933&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCacheUnitTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCacheUnitTest.java Wed Apr 2 08:54:16 2014
@@ -46,7 +46,7 @@ public class MySQLDiskCacheUnitTest
// SETUP
MySQLDiskCacheAttributes attributes = new MySQLDiskCacheAttributes();
String tableName = "JCS_TEST";
- attributes.setDriverClassName( "org.gjt.mm.mysql.Driver" );
+ attributes.setDriverClassName( "com.mysql.jdbc.Driver" );
attributes.setTableName( tableName );
attributes.setBalkDuringOptimization( true );
Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLTableOptimizerManualTester.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLTableOptimizerManualTester.java?rev=1583933&r1=1583932&r2=1583933&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLTableOptimizerManualTester.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLTableOptimizerManualTester.java Wed Apr 2 08:54:16 2014
@@ -45,7 +45,7 @@ public class MySQLTableOptimizerManualTe
attributes.setUserName( "java" );
attributes.setPassword( "letmein" );
attributes.setUrl( "jdbc:mysql://10.19.98.43:3306/flight_option_cache" );
- attributes.setDriverClassName( "org.gjt.mm.mysql.Driver" );
+ attributes.setDriverClassName( "com.mysql.jdbc.Driver" );
String tableName = "JCS_STORE_FLIGHT_OPTION_ITINERARY";
attributes.setTableName( tableName );
TableState tableState = new TableState( tableName );
@@ -70,7 +70,7 @@ public class MySQLTableOptimizerManualTe
attributes.setUserName( "java" );
attributes.setPassword( "letmein" );
attributes.setUrl( "jdbc:mysql://10.19.98.43:3306/flight_option_cache" );
- attributes.setDriverClassName( "org.gjt.mm.mysql.Driver" );
+ attributes.setDriverClassName( "com.mysql.jdbc.Driver" );
String tableName = "DOESNTEXIST";
attributes.setTableName( tableName );
TableState tableState = new TableState( tableName );
Modified: commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml?rev=1583933&r1=1583932&r2=1583933&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml (original)
+++ commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml Wed Apr 2 08:54:16 2014
@@ -62,8 +62,8 @@ jcs.auxiliary.MYSQL=org.apache.commons.j
jcs.auxiliary.MYSQL.attributes=org.apache.commons.jcs.auxiliary.disk.jdbc.JDBCDiskCacheAttributes
jcs.auxiliary.MYSQL.attributes.userName=myUsername
jcs.auxiliary.MYSQL.attributes.password=myPassword
-jcs.auxiliary.MYSQL.attributes.url=${MYSQL}
-jcs.auxiliary.MYSQL.attributes.driverClassName=org.gjt.mm.mysql.Driver
+jcs.auxiliary.MYSQL.attributes.url=jdbc:mysql://localhost:3306/YOURDBNAME?autoReconnect=true
+jcs.auxiliary.MYSQL.attributes.driverClassName=com.mysql.jdbc.Driver
jcs.auxiliary.MYSQL.attributes.tableName=JCS_STORE
jcs.auxiliary.MYSQL.attributes.testBeforeInsert=false
jcs.auxiliary.MYSQL.attributes.maxActive=100
Modified: commons/proper/jcs/trunk/xdocs/RemoteAuxCache.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/RemoteAuxCache.xml?rev=1583933&r1=1583932&r2=1583933&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/RemoteAuxCache.xml (original)
+++ commons/proper/jcs/trunk/xdocs/RemoteAuxCache.xml Wed Apr 2 08:54:16 2014
@@ -155,7 +155,7 @@ jcs.auxiliary.RFailover.attributes=
org.apache.commons.jcs.auxiliary.remote.RemoteCacheAttributes
jcs.auxiliary.RFailover.attributes.FailoverServers=
localhost:1102,localhost:1103
-jcs.auxiliary.RC.attributes.RemoveUponRemotePut=true
+jcs.auxiliary.RFailover.attributes.RemoveUponRemotePut=true
jcs.auxiliary.RFailover.attributes.GetOnly=false
]]>
</source>
@@ -328,7 +328,7 @@ jcs.auxiliary.RCluster1.attributes.GetOn
purpose. It will start the registry and bind the
JCS server to the registry. To use the startup
servlet, add the following to the web.xml file and
- make sure you have the remote.cache.ccf file in the
+ make sure you have the cache.ccf file in the
WEB-INF/classes directly of your war file.
</p>
<source>