Hi Mahesh,

AFAIK we cant enable ghost mode in test environment by editing carbon.xml.

On Tue, Mar 24, 2015 at 10:02 PM, Mahesh Chinthaka <mahe...@wso2.com> wrote:

> Hi Shashika,
>
> You can enable Ghost mode deployment from setting the value 'true' in
> repository/conf/carbon.xml
>
>  <GhostDeployment>
>         <Enabled>*true*</Enabled>
>         <PartialUpdate>false</PartialUpdate>
>  </GhostDeployment>
>
>
> And to set the webapp unloading time u can do following,
>
> open wso2server.sh in vim editor ( sudo vi wso2server.sh)
> Add following line in the bottom section ( inside do while )
>
> -Dwebapp.idle.time=1 \
>
>
> Thanks
>
> On Tue, Mar 24, 2015 at 7:44 PM, Shashika Karunatilaka <shashi...@wso2.com
> > wrote:
>
>> Hi,
>>
>> I need to write a test case to get the first request to a deployed web
>> app after the web app went to ghost mode or unloaded. how should i enable
>> ghost mode, web app idle time in test environment?
>>
>> Thank you.
>>
>> --
>> Shashika Prabath Karunatilaka,
>> Software Engineer,
>> WSO2, Inc: http://wso2.com/
>> mobile : +94 77 7487792
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>



-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to