jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r727397 - /jackrabbit/trunk/jackrabbit-jcr-servlet/src/main/java/org/apache/jackrabbit/servlet/remote/RMIRemoteBindingServlet.java
Date Wed, 17 Dec 2008 14:34:25 GMT
Author: jukka
Date: Wed Dec 17 06:34:25 2008
New Revision: 727397

URL: http://svn.apache.org/viewvc?rev=727397&view=rev
Log:
JCR-1910: RMIRemoteBindingServlet fails to initialize if the RMI registry is not available

Hmm, in fact we can also ignore the MalformedURLException as we already logged that during
init().

Modified:
    jackrabbit/trunk/jackrabbit-jcr-servlet/src/main/java/org/apache/jackrabbit/servlet/remote/RMIRemoteBindingServlet.java

Modified: jackrabbit/trunk/jackrabbit-jcr-servlet/src/main/java/org/apache/jackrabbit/servlet/remote/RMIRemoteBindingServlet.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-servlet/src/main/java/org/apache/jackrabbit/servlet/remote/RMIRemoteBindingServlet.java?rev=727397&r1=727396&r2=727397&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-servlet/src/main/java/org/apache/jackrabbit/servlet/remote/RMIRemoteBindingServlet.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-servlet/src/main/java/org/apache/jackrabbit/servlet/remote/RMIRemoteBindingServlet.java
Wed Dec 17 06:34:25 2008
@@ -92,7 +92,7 @@
         } catch (NotBoundException e) {
             // Ignore, perhaps the reference was already manually removed
         } catch (MalformedURLException e) {
-            log("Invalid RMI URL: " + url, e);
+            // Ignore, we already logged a warning about this during init()
         } catch (RemoteException e) {
             log("Failed to unbind repository from RMI: " + url, e);
         }



Mime
View raw message