Hi Reka,

This is happen when server started. Even the server started we can't deploy
the application until the complete topology event received. (Topology get
initialized with the complete topology event.)

We come across this when doing the integration testing. Integration test
execution will start once the server started. But the application
deployment get failed if this test execution happen before complete
topology is received.So we need to wait until for the complete topology
event to execute the test suite.

Thanks,
Gayan


On Tue, Feb 3, 2015 at 12:59 AM, Reka Thirunavukkarasu <[email protected]>
wrote:

> Hi Gayan,
>
> Can you explain me the current application deployment model and the
> persistence model? AFAIR, in order to handle this kind of scenario, the
> relevant implementation has been added in pre-alpha. I will check and
> verify it..
>
> Thanks,
> Reka
>
> On Mon, Feb 2, 2015 at 12:19 PM, Gayan Gunarathne <[email protected]> wrote:
>
>> AFAIU Topology manager get initialized after only the complete topology
>> event is received.Application deployment is getting fail if the topology in
>> not initialized.
>>
>> IMO there will be two options.
>> 1. Block the outside interfaces (such as rest api, CLI ) until the
>> topology initialize.
>>       If we use this our integration test execution should wait until the
>> complete topology event received.
>> 2. We can delay the server start(wait in the main thread) until the
>> topology get initialized.
>>
>> WDYT?
>>
>> Thanks,
>> Gayan
>>
>> On Mon, Feb 2, 2015 at 8:18 PM, Imesh Gunaratne <[email protected]> wrote:
>>
>>> Hi Devs,
>>>
>>> It seems like if we deploy an application before Complete Topology event
>>> is received, application monitor does not get created. As a result
>>> application is not created.
>>>
>>> Thanks
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>>
>> Gayan Gunarathne
>> Technical Lead
>> WSO2 Inc. (http://wso2.com)
>> email  : [email protected]  | mobile : +94 766819985
>>
>>
>
>
>
> --
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 

Gayan Gunarathne
Technical Lead
WSO2 Inc. (http://wso2.com)
email  : [email protected]  | mobile : +94 766819985

Reply via email to