Repository: cloudstack
Updated Branches:
  refs/heads/4.8 12a4ca28c -> 64eef2104


Cloudstack 9285 for 4.7.x


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5b6fbe6a
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5b6fbe6a
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5b6fbe6a

Branch: refs/heads/4.8
Commit: 5b6fbe6aebbe9cd24dfebe9271ecb5dc40877c94
Parents: a243339
Author: Simon Weller <[email protected]>
Authored: Mon Mar 7 16:23:35 2016 -0600
Committer: Simon Weller <[email protected]>
Committed: Mon Mar 7 16:23:35 2016 -0600

----------------------------------------------------------------------
 agent/src/com/cloud/agent/Agent.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5b6fbe6a/agent/src/com/cloud/agent/Agent.java
----------------------------------------------------------------------
diff --git a/agent/src/com/cloud/agent/Agent.java 
b/agent/src/com/cloud/agent/Agent.java
index 994e822..912d308 100644
--- a/agent/src/com/cloud/agent/Agent.java
+++ b/agent/src/com/cloud/agent/Agent.java
@@ -412,7 +412,8 @@ public class Agent implements HandlerFactory, IAgentControl 
{
             try {
                 _connection.start();
             } catch (final NioConnectionException e) {
-                throw new CloudRuntimeException("Unable to start the 
connection!", e);
+               s_logger.info("Attempted to connect to the server, but received 
an unexpected exception, trying again...");
+
             }
             _shell.getBackoffAlgorithm().waitBeforeRetry();
         } while (!_connection.isStartup());

Reply via email to