Hi Dinusha,

On Fri, Aug 24, 2012 at 1:47 PM, Dinusha Senanayaka <[email protected]>wrote:

> Hi Nirodha,
>
> On Fri, Aug 24, 2012 at 12:41 PM, Nirodha Pramod <[email protected]> wrote:
>
>> Hi,
>>
>> When a carbon data source is created, in the data source listing page it
>> always shows the status as 'ACTIVE'. Even when I stopped the mysql server
>> it still shows the data source status as active (Checked in the latest
>> packs).
>>
>
>
>> After stopping the MySQL server you may need to reload the data-source to
>> affect the changes.
>>
>
What do you mean by 'reloading'? I have edited and saved the data source
but it still says active when mysql server stopped. I have even restarted
the sever but still it says Active. I have even tried creating a data
source without having mysql driver jar, still it says data source is
active. How does it find out it is active or not without even having the
driver to connect to the db server.



>> What does this 'Status' actually mean?
>>
>
> Earlier we don't have a way to load the Carbon data-sources if any of
> data-sources get faulty while initializing them. Now we modified code to
> handle this and we load all data-sources and display in UI. We have added a
> new filed in Carbon data-source UI to hold the status of data-source. If
> data-source initialization fails then we show the data-source status as
> "Error" and if it initialized successfully then we show the data-source
> status as "Active".
>
> Regards,
> Dinusha.
>
>
>
>>
>> Thanks.
>> --
>> *Nirodha Gallage*
>> Software Engineer, QA.
>> WSO2 Inc.: http://wso2.com/
>> Email: [email protected]   Mobile: +94716429078
>>
>>
>


-- 
*Nirodha Gallage*
Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
Email: [email protected]   Mobile: +94716429078
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to