Udara Liyanage created STRATOS-943: -------------------------------------- Summary: Publishing Application terminated event is published even when there is no application Key: STRATOS-943 URL: https://issues.apache.org/jira/browse/STRATOS-943 Project: Stratos Issue Type: Bug Reporter: Udara Liyanage
When I tried to undeploy an application which does not exist, it tries to send the event too. IMO it should let the client get an error message [2014-11-07 16:40:04,039] INFO {org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator} - Topology event message delegator started [2014-11-07 16:40:04,070] INFO {org.apache.stratos.autoscaler.event.receiver.health.AutoscalerHealthStatEventReceiver} - Autoscaler health stat event receiver thread started [2014-11-07 16:40:04,074] INFO {org.apache.stratos.messaging.message.receiver.health.stat.HealthStatEventMessageDelegator} - Health stat event message delegator started [2014-11-07 16:41:01,330] INFO {org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver} - [CompleteTopologyEvent] Received: class org.apache.stratos.messaging.event.topology.CompleteTopologyEvent [2014-11-07 16:42:19,300] INFO {org.apache.stratos.autoscaler.applications.topic.ApplicationBuilder} - Un-deploying the [application] mysql-only-app2by marking it as terminating.. [2014-11-07 16:42:19,302] WARN {org.apache.stratos.autoscaler.applications.topic.ApplicationBuilder} - Application Monitor cannot be found for the undeployed [application] mysql-only-app2 [2014-11-07 16:42:19,303] INFO {org.apache.stratos.autoscaler.applications.topic.ApplicationsEventPublisher} - Publishing Application terminated event for [application]: mysql-only-app2 [2014-11-07 16:42:19,438] WARN {org.apache.stratos.messaging.message.processor.applications.updater.ApplicationsUpdater} - Topology lock not found for Application mysql-only-app2 [2014-11-07 16:42:19,439] WARN {org.apache.stratos.messaging.message.processor.applications.ApplicationTerminatingMessageProcessor} - Application does not exist: [service] mysql-only-app2 [2014-11-07 16:42:19,440] WARN {org.apache.stratos.messaging.message.processor.applications.updater.ApplicationsUpdater} - Topology lock not found for Application mysql-only-app2 -- This message was sent by Atlassian JIRA (v6.3.4#6332)