You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2018/08/13 15:20:15 UTC

[geode] 04/05: More debugging

This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch debug-alter-runtime
in repository https://gitbox.apache.org/repos/asf/geode.git

commit cbdada7d553642efda5dc900e856626275458134
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Sat Aug 11 12:02:16 2018 -0700

    More debugging
---
 .../java/org/apache/geode/management/internal/ManagementAgent.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/ManagementAgent.java b/geode-core/src/main/java/org/apache/geode/management/internal/ManagementAgent.java
index 8d4c928..e537cd0 100755
--- a/geode-core/src/main/java/org/apache/geode/management/internal/ManagementAgent.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/ManagementAgent.java
@@ -239,6 +239,7 @@ public class ManagementAgent {
 
       try {
         if (agentUtil.isWebApplicationAvailable(gemfireWar, pulseWar, gemfireAPIWar)) {
+          logger.info("--->>> Starting inner block");
 
           final String bindAddress = this.config.getHttpServiceBindAddress();
           final int port = this.config.getHttpServicePort();
@@ -293,6 +294,7 @@ public class ManagementAgent {
           System.setProperty(PULSE_USESSL_MANAGER, jmxSocketCreator.useSSL() + "");
           System.setProperty(PULSE_USESSL_LOCATOR, locatorSocketCreator.useSSL() + "");
 
+          logger.info("---->>> starting jetty");
           this.httpServer = JettyHelper.startJetty(this.httpServer);
 
           // now, that Tomcat has been started, we can set the URL used by web
@@ -316,6 +318,7 @@ public class ManagementAgent {
           setHttpServiceRunning(true);
         }
       } catch (Exception e) {
+        logger.error("HTTP service failed to start: {}", e);
         stopHttpService();// Jetty needs to be stopped even if it has failed to
         // start. Some of the threads are left behind even if
         // server.start() fails due to an exception