Hi Udara,

AFAIU, this is normal.

In the single JVM setup, there are multiple message processors for one type
running, but they are updating a single Topology model. Therefore, the
first one updates it, and the subsequent ones see that it has been updated
already. That is why you are seeing multiple transitions to the same state.

On Fri, Oct 24, 2014 at 2:47 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi Reka, Isuru,
>
> Below is the stack trace I got when I undeployed an application. Please
> note that status change from Terminating to Terminating. Application does
> not reached Terminated event thereafter. Is this a normal state change?
>
>
> [2014-10-24 14:40:44,430]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ test_app_3 ]'s life Cycle State changed from [
> Created ] to [ Terminating ]
> [2014-10-24 14:40:44,430]  INFO
> {org.apache.stratos.cloud.controller.topology.TopologyBuilder} -
>  Application test_app_3's status updated to Terminating
> [2014-10-24 14:40:44,431]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mytomcat.tomcat.domain ]'s life Cycle State changed
> from [ Created ] to [ Terminating ]
> [2014-10-24 14:40:44,431]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mygroup1php.php.domain ]'s life Cycle State changed
> from [ Created ] to [ Terminating ]
> [2014-10-24 14:40:44,431]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mygroup2tomcat.tomcat.domain ]'s life Cycle State
> changed from [ Created ] to [ Terminating ]
> [2014-10-24 14:40:44,431]  INFO
> {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -
>  Publishing Application undeployed event for Application: test_app_3
> [2014-10-24 14:40:44,436]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ test_app_3 ]'s life Cycle State changed from [
> Created ] to [ Terminating ]
> [2014-10-24 14:40:44,437]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mygroup1php.php.domain ]'s life Cycle State changed
> from [ Created ] to [ Terminating ]
> [2014-10-24 14:40:44,437]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mytomcat.tomcat.domain ]'s life Cycle State changed
> from [ Created ] to [ Terminating ]
> [2014-10-24 14:40:44,439]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mygroup2tomcat.tomcat.domain ]'s life Cycle State
> changed from [ Created ] to [ Terminating ]
> [2014-10-24 14:40:44,440]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ test_app_3 ]'s life Cycle State changed from [
> Terminating ] to [ Terminating ]
> [2014-10-24 14:40:44,440]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mygroup1php.php.domain ]'s life Cycle State changed
> from [ *Terminating* ] to [ *Terminating* ]
> [2014-10-24 14:40:44,440]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mytomcat.tomcat.domain ]'s life Cycle State changed
> from [ Terminating ] to [ Terminating ]
> [2014-10-24 14:40:44,440]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mygroup2tomcat.tomcat.domain ]'s life Cycle State
> changed from [ Terminating ] to [ Terminating ]
> [2014-10-24 14:40:44,445]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ test_app_3 ]'s life Cycle State changed from [
> Terminating ] to [ Terminating ]
> [2014-10-24 14:40:44,447]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mygroup1php.php.domain ]'s life Cycle State changed
> from [ Terminating ] to [ Terminating ]
> [2014-10-24 14:40:44,447]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mytomcat.tomcat.domain ]'s life Cycle State changed
> from [ Terminating ] to [ Terminating ]
> [2014-10-24 14:40:44,447]  INFO
> {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager}
> -  Topology element [ mygroup2tomcat.tomcat.domain ]'s life Cycle State
> changed from [ Terminating ] to [ Terminating ]
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>

Reply via email to