Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 89D3D200BD4 for ; Thu, 17 Nov 2016 06:53:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 88186160B1A; Thu, 17 Nov 2016 05:53:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D49F7160B13 for ; Thu, 17 Nov 2016 06:53:01 +0100 (CET) Received: (qmail 53901 invoked by uid 500); 17 Nov 2016 05:52:59 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 53346 invoked by uid 500); 17 Nov 2016 05:52:59 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 53319 invoked by uid 99); 17 Nov 2016 05:52:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2016 05:52:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E6F552C4C91 for ; Thu, 17 Nov 2016 05:52:58 +0000 (UTC) Date: Thu, 17 Nov 2016 05:52:58 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9071) stats.output.uri stops the server from starting if the uri is malformed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 17 Nov 2016 05:53:02 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15672838#comment-15672838 ] ASF subversion and git services commented on CLOUDSTACK-9071: ------------------------------------------------------------- Commit 293ec4f3fc4b4cb6b238e34dce38770fc49f3aa2 in cloudstack's branch refs/heads/4.9 from [~jburwell] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=293ec4f ] Merge pull request #1673 from wido/CLOUDSTACK-9071 CLOUDSTACK-9071: Properly parse stats.output.uri in StatsCollectorBoth host and path could have been NULL which causes the StatsCollector no to start properly. By checking if the Strings are not Empty or Null we make sure the StatsCollector always runs and does not prevent the Management Server from starting. * pr/1673: CLOUDSTACK-9071: Properly parse stats.output.uri in StatsCollector Signed-off-by: John Burwell > stats.output.uri stops the server from starting if the uri is malformed > ----------------------------------------------------------------------- > > Key: CLOUDSTACK-9071 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9071 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Affects Versions: 4.6.0 > Reporter: Carles Figuerola > > After inputting a malformed uri (was missing the graphite://) and restarting the management service, the application stops at: > 2015-11-17 11:06:42,861 INFO [c.c.s.StatsCollector] (localhost-startStop-1:null) metrics.dev.company.net is not a valid protocol for external statistics. No statistics will be send. > No more logs are output and tomcat is up but serving a completely blank page. > When the uri has this form: (graphite://metrics.dev.company.net:2013), the end result is very similar to the previous one > (also, the last word should be "sent") -- This message was sent by Atlassian JIRA (v6.3.4#6332)