Hi Aruna/Danushka,

After creating a tenant i had to login to make it idle after the given time.
Thanks for the help.

Thanks,
Iqbal

On Mon, Jan 5, 2015 at 12:38 PM, Danushka Fernando <[email protected]>
wrote:

> Hi
> You need to create a tenant first and then send some request to the tenant
> to load it. Simplest thing is to log in to the tenant. Then keep it idle
> for the idle time you configured. Then tenant should be unloaded.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Mon, Jan 5, 2015 at 11:46 AM, Aruna Karunarathna <[email protected]>
> wrote:
>
>>
>>
>> On Mon, Jan 5, 2015 at 11:26 AM, Irham Iqbal <[email protected]> wrote:
>>
>>> Hi ,
>>>
>>> How to test carbon tools -Dcarbon.registry.root and -Dtenant.idle.time ?
>>> I tried ./wso2server.sh -Dtenant.idle.time=1 but how can i make sure
>>> tenant is unloaded after 1 minute. I couldn't see any logs says tenant
>>> unloaded.
>>>
>>
>> Have you created any tenants and loaded them?.. Then after the
>> tenant.idle .time expires, it will show you the unloaded logs.
>>
>>
>>>
>>> ./wso2server.sh --help gives me as below.
>>>
>>> -Dtenant.idle.time=<time>    If a tenant is idle for the specified
>>> time, tenant will be unloaded. Default tenant idle time is 30mins. This is
>>> required in clustered setups with master and worker nodes.
>>>
>>> -Dcarbon.registry.root        The root of the Registry used by this
>>> Carbon instance.
>>>
>>>
>>> Thanks,
>>> Iqbal
>>> --
>>> Irham Iqbal
>>> Software Engineer - Test Automation
>>>  WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>> phone: +94 777888452
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: [email protected] | Web: www.wso2.com
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to