geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jensde...@apache.org
Subject [geode] branch debug-alter-runtime updated: More debugging
Date Sat, 11 Aug 2018 19:02:31 GMT
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


The following commit(s) were added to refs/heads/debug-alter-runtime by this push:
     new 057c977  More debugging
057c977 is described below

commit 057c9772a0c8509fb6f2e5ad6130a8b402c2cdb9
Author: Jens Deppe <jdeppe@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


Mime
View raw message