incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r633809 - /incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/internal/SessionPool.java
Date Wed, 05 Mar 2008 10:40:47 GMT
Author: fmeschbe
Date: Wed Mar  5 02:40:43 2008
New Revision: 633809

URL: http://svn.apache.org/viewvc?rev=633809&view=rev
Log:
Prevent RemoteException on session cleanup if the repository is accessed
over RMI and not available any more.

Modified:
    incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/internal/SessionPool.java

Modified: incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/internal/SessionPool.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/internal/SessionPool.java?rev=633809&r1=633808&r2=633809&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/internal/SessionPool.java
(original)
+++ incubator/sling/trunk/jcr/base/src/main/java/org/apache/sling/jcr/base/internal/SessionPool.java
Wed Mar  5 02:40:43 2008
@@ -802,8 +802,7 @@
                     session.logout();
                 }
             } catch (Exception e) {
-                log.warn("Unexpected problem logging out session "
-                    + session.getUserID(), e);
+                log.info("Unexpected problem logging out session " + session, e);
             }
         }
     }



Mime
View raw message