You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by as...@apache.org on 2006/03/29 22:50:24 UTC

svn commit: r389885 - /jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/RemoteCache.java

Author: asmuts
Date: Wed Mar 29 12:50:22 2006
New Revision: 389885

URL: http://svn.apache.org/viewcvs?rev=389885&view=rev
Log:
changed and error to an info and added a todo

Modified:
    jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/RemoteCache.java

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/RemoteCache.java
URL: http://svn.apache.org/viewcvs/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/RemoteCache.java?rev=389885&r1=389884&r2=389885&view=diff
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/RemoteCache.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/RemoteCache.java Wed Mar 29 12:50:22 2006
@@ -125,7 +125,7 @@
                 pool.getPool().setThreadFactory( new MyThreadFactory() );
             }
         }
-        
+
         try
         {
             // TODO make configurable.
@@ -150,8 +150,10 @@
         }
         catch ( Exception e )
         {
-            log.error( "Problem setting custom RMI Socket Factory.", e );
-        }        
+            // TODO change this so that we only try to do it once. Otherwise we
+            // genreate errors for each region on construction.
+            log.info( e.getMessage() );
+        }
     }
 
     /**
@@ -304,7 +306,7 @@
             }
             return ice;
         }
-        catch( TimeoutException te )
+        catch ( TimeoutException te )
         {
             log.warn( "TimeoutException, Get Request timed out after " + timeout );
             throw new IOException( "Get Request timed out after " + timeout );



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