geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sai_boorlaga...@apache.org
Subject [44/45] incubator-geode git commit: GEODE-1141: Catch and log Throwable on cluster config startup
Date Tue, 29 Mar 2016 18:26:27 GMT
GEODE-1141: Catch and log Throwable on cluster config startup


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/c36591b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/c36591b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/c36591b7

Branch: refs/heads/feature/GEODE-52
Commit: c36591b73243c7ee3a0186710338453d12efe364
Parents: 7e5f16d
Author: Jens Deppe <jdeppe@pivotal.io>
Authored: Mon Mar 28 14:49:56 2016 -0700
Committer: Jens Deppe <jdeppe@pivotal.io>
Committed: Tue Mar 29 06:40:11 2016 -0700

----------------------------------------------------------------------
 .../gemstone/gemfire/distributed/internal/InternalLocator.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c36591b7/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
b/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
index b81732b..d0b13fa 100644
--- a/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalLocator.java
@@ -691,7 +691,7 @@ public class InternalLocator extends Locator implements ConnectListener
{
       try {
         if (locator.sharedConfig == null) {
           // locator.sharedConfig will already be created in case of auto-reconnect
-          locator.sharedConfig = new SharedConfiguration((GemFireCacheImpl) locator.myCache);
+          locator.sharedConfig = new SharedConfiguration(locator.myCache);
         }
         locator.sharedConfig.initSharedConfiguration(locator.loadFromSharedConfigDir());
         locator.installSharedConfigDistribution();
@@ -704,7 +704,7 @@ public class InternalLocator extends Locator implements ConnectListener
{
         if (logger.isDebugEnabled()) {
           logger.debug("Cluster configuration start up was cancelled", e);
         }
-      } catch (Exception e) {
+      } catch (Throwable e) {
         logger.error(e.getMessage(), e);
       }
     }


Mime
View raw message