Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-07-23 Thread Reza Ameri
Here is my problem,
I have done what [1] said and the problem did not happen again on DAS
dashboard *BUT *when I want to connect to DAS from API Manager I got some
error on "admin-dashboard" in the "Configure Analytics" menu. I couldn't
save the config and I got an error like this on AM:

Error occurred while deploying artifacts (Cause:org.apache.axis2.AxisFault:
Connection has been shutdown: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target.

I have no error on DAS dashboard but I can not connect AM to DAS. Any Idea?

P.S.: I have asked this question on stackoverflow[2] too, feel free to
answer any where ;-)



[1].
http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html
[2].
http://stackoverflow.com/questions/38540169/ssl-error-on-wso2-data-analytics-server

On Fri, May 13, 2016 at 10:28 AM, Gobinath Loganathan 
wrote:

> Hi all,
> Thank you for your support. Now it is working as expected after creating
> and importing a new certificate for my IP.
>
> Thanks a lot.
>
> On Fri, May 13, 2016 at 11:11 AM, Rukshani Weerasinha 
> wrote:
>
>> Hi all,
>>
>> I will update this thread as well as the Jira issue [1] once the DAS
>> Quick Start Guide is updated with the relevant information.
>>
>> [1] DOCUMENTATION-3344 
>>
>> Best Regards,
>> Rukshani.
>>
>> On Fri, May 13, 2016 at 10:59 AM, Nipuna Chandradasa 
>> wrote:
>>
>>> Hi All,
>>>
>>> Dashboard Server team have given few patches to solve gadget loading
>>> related issues happening in a real production environment where we don't
>>> use localhost. Those issues are mentioned in the mail thread i mentioned in
>>> the previous mail.
>>>
>>> Thank you,
>>>
>>> On Fri, May 13, 2016 at 10:54 AM, Iranga Muthuthanthri 
>>> wrote:
>>>
 Think we need to have a note on the above in the QSG

 On Fri, May 13, 2016 at 10:51 AM, Nipuna Chandradasa 
 wrote:

> Hi Gobinath,
>
> Here what you have to do is to create a new certificate for your IP
> and import it in to wso2carbon.jks and clienttruststore.jks.
> Refer to this blog[1] for more details.
>
> [1].
> http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html
>
> Regards,
> Marcus
>
> On Fri, May 13, 2016 at 10:46 AM, Gobinath Loganathan <
> gobin...@wso2.com> wrote:
>
>> Hi Nipuna,
>> I got the same error. Thank you for your help, I will have a look.
>>
>> For reference, I have added my console error message here:
>> [2016-05-13 10:37:08,655] ERROR
>> {org.apache.shindig.gadgets.render.DefaultServiceFetcher} -  Services
>> methods from the https://10.100.7.87:9443/shindig/rpc endpoint could
>> not be fetched. The following error occurred: javax.net.ssl.SSLException:
>> hostname in certificate didn't match: <10.100.7.87> != .
>> [2016-05-13 10:37:09,026]  INFO
>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -  The following
>> exception occurred when fetching
>> https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml:
>> 8 ms elapsed.
>> [2016-05-13 10:37:09,027]  INFO
>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
>> javax.net.ssl.SSLException: hostname in certificate didn't match:
>> <10.100.7.87> != 
>> at
>> org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
>> at
>> org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
>> ...
>>
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa <
>> nipu...@wso2.com> wrote:
>>
>>> Hi Gobinath,
>>>
>>> Is there any error on the console or the debug tool of the browser
>>> saying IP !=  ?
>>> This is not because of you don't have data. Here gadgets are not
>>> even rendered. This can be because of a SSLException (Your certificate
>>> doesn't match your host) or if you have a LB in front your DAS with 
>>> proxy
>>> port configured, shindig uses server port to render not the proxy 
>>> port...
>>> so 404 error..
>>>
>>> Please have a look at mail tread mention here which is in support.
>>>
>>>  [DAS] Hostname issue while adding gadgets to dashboard when
>>> fronted by an LB
>>>
>>>  Regards,
>>>
>>>
>>> On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan <
>>> gobin...@wso2.com> wrote:
>>>
 Hi Thanuja,
 I also think so. Even I executed the 'smart_home_script' manually,
 but no luck.

 Thanks.

 On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
 thanu...@wso2.com> wrote:

> Hi Gob

Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Gobinath Loganathan
Hi all,
Thank you for your support. Now it is working as expected after creating
and importing a new certificate for my IP.

Thanks a lot.

On Fri, May 13, 2016 at 11:11 AM, Rukshani Weerasinha 
wrote:

> Hi all,
>
> I will update this thread as well as the Jira issue [1] once the DAS Quick
> Start Guide is updated with the relevant information.
>
> [1] DOCUMENTATION-3344 
>
> Best Regards,
> Rukshani.
>
> On Fri, May 13, 2016 at 10:59 AM, Nipuna Chandradasa 
> wrote:
>
>> Hi All,
>>
>> Dashboard Server team have given few patches to solve gadget loading
>> related issues happening in a real production environment where we don't
>> use localhost. Those issues are mentioned in the mail thread i mentioned in
>> the previous mail.
>>
>> Thank you,
>>
>> On Fri, May 13, 2016 at 10:54 AM, Iranga Muthuthanthri 
>> wrote:
>>
>>> Think we need to have a note on the above in the QSG
>>>
>>> On Fri, May 13, 2016 at 10:51 AM, Nipuna Chandradasa 
>>> wrote:
>>>
 Hi Gobinath,

 Here what you have to do is to create a new certificate for your IP and
 import it in to wso2carbon.jks and clienttruststore.jks.
 Refer to this blog[1] for more details.

 [1].
 http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html

 Regards,
 Marcus

 On Fri, May 13, 2016 at 10:46 AM, Gobinath Loganathan <
 gobin...@wso2.com> wrote:

> Hi Nipuna,
> I got the same error. Thank you for your help, I will have a look.
>
> For reference, I have added my console error message here:
> [2016-05-13 10:37:08,655] ERROR
> {org.apache.shindig.gadgets.render.DefaultServiceFetcher} -  Services
> methods from the https://10.100.7.87:9443/shindig/rpc endpoint could
> not be fetched. The following error occurred: javax.net.ssl.SSLException:
> hostname in certificate didn't match: <10.100.7.87> != .
> [2016-05-13 10:37:09,026]  INFO
> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -  The following
> exception occurred when fetching
> https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml:
> 8 ms elapsed.
> [2016-05-13 10:37:09,027]  INFO
> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
> javax.net.ssl.SSLException: hostname in certificate didn't match:
> <10.100.7.87> != 
> at
> org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
> at
> org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
> ...
>
>
> Thanks.
>
> On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa  > wrote:
>
>> Hi Gobinath,
>>
>> Is there any error on the console or the debug tool of the browser
>> saying IP !=  ?
>> This is not because of you don't have data. Here gadgets are not even
>> rendered. This can be because of a SSLException (Your certificate doesn't
>> match your host) or if you have a LB in front your DAS with proxy port
>> configured, shindig uses server port to render not the proxy port... so 
>> 404
>> error..
>>
>> Please have a look at mail tread mention here which is in support.
>>
>>  [DAS] Hostname issue while adding gadgets to dashboard when fronted
>> by an LB
>>
>>  Regards,
>>
>>
>> On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan <
>> gobin...@wso2.com> wrote:
>>
>>> Hi Thanuja,
>>> I also think so. Even I executed the 'smart_home_script' manually,
>>> but no luck.
>>>
>>> Thanks.
>>>
>>> On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
>>> thanu...@wso2.com> wrote:
>>>
 Hi Gobinath,

 But if the corresponding gadget datasources don't have data, It
 will show 'Data is not available for plotting' messgae in gadgets. I've
 checked this with chrome version 49.0.2623.87. But in your case,
 gadget is totally empty. This might be due to some other problems.

 Thanks.

 On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
 thanu...@wso2.com> wrote:

> Hi Gobinath,
>
> I tried the same sample and can see the data in dashboards. But
> you have to wait until smart_home_script spark script is get executed 
> after
> you ran the sample java client to publish the data to see the data in
> dashboard. Because the spark script used for this sample
> (smart_home_script) is scheduled to run every 3 minutes to copy data
> received to corresponding gadgets' datasources.
>
> Thanks.
>
> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan <
> gobin...@wso2.com> wrote:
>
>> Hi team,
>> The Dashboard of DAS does not generate gra

Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Rukshani Weerasinha
Hi all,

I will update this thread as well as the Jira issue [1] once the DAS Quick
Start Guide is updated with the relevant information.

[1] DOCUMENTATION-3344 

Best Regards,
Rukshani.

On Fri, May 13, 2016 at 10:59 AM, Nipuna Chandradasa 
wrote:

> Hi All,
>
> Dashboard Server team have given few patches to solve gadget loading
> related issues happening in a real production environment where we don't
> use localhost. Those issues are mentioned in the mail thread i mentioned in
> the previous mail.
>
> Thank you,
>
> On Fri, May 13, 2016 at 10:54 AM, Iranga Muthuthanthri 
> wrote:
>
>> Think we need to have a note on the above in the QSG
>>
>> On Fri, May 13, 2016 at 10:51 AM, Nipuna Chandradasa 
>> wrote:
>>
>>> Hi Gobinath,
>>>
>>> Here what you have to do is to create a new certificate for your IP and
>>> import it in to wso2carbon.jks and clienttruststore.jks.
>>> Refer to this blog[1] for more details.
>>>
>>> [1].
>>> http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html
>>>
>>> Regards,
>>> Marcus
>>>
>>> On Fri, May 13, 2016 at 10:46 AM, Gobinath Loganathan >> > wrote:
>>>
 Hi Nipuna,
 I got the same error. Thank you for your help, I will have a look.

 For reference, I have added my console error message here:
 [2016-05-13 10:37:08,655] ERROR
 {org.apache.shindig.gadgets.render.DefaultServiceFetcher} -  Services
 methods from the https://10.100.7.87:9443/shindig/rpc endpoint could
 not be fetched. The following error occurred: javax.net.ssl.SSLException:
 hostname in certificate didn't match: <10.100.7.87> != .
 [2016-05-13 10:37:09,026]  INFO
 {org.apache.shindig.gadgets.http.BasicHttpFetcher} -  The following
 exception occurred when fetching
 https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml:
 8 ms elapsed.
 [2016-05-13 10:37:09,027]  INFO
 {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
 javax.net.ssl.SSLException: hostname in certificate didn't match:
 <10.100.7.87> != 
 at
 org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
 at
 org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
 ...


 Thanks.

 On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa 
 wrote:

> Hi Gobinath,
>
> Is there any error on the console or the debug tool of the browser
> saying IP !=  ?
> This is not because of you don't have data. Here gadgets are not even
> rendered. This can be because of a SSLException (Your certificate doesn't
> match your host) or if you have a LB in front your DAS with proxy port
> configured, shindig uses server port to render not the proxy port... so 
> 404
> error..
>
> Please have a look at mail tread mention here which is in support.
>
>  [DAS] Hostname issue while adding gadgets to dashboard when fronted
> by an LB
>
>  Regards,
>
>
> On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan <
> gobin...@wso2.com> wrote:
>
>> Hi Thanuja,
>> I also think so. Even I executed the 'smart_home_script' manually,
>> but no luck.
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
>> thanu...@wso2.com> wrote:
>>
>>> Hi Gobinath,
>>>
>>> But if the corresponding gadget datasources don't have data, It will
>>> show 'Data is not available for plotting' messgae in gadgets. I've 
>>> checked
>>> this with chrome version 49.0.2623.87. But in your case, gadget is
>>> totally empty. This might be due to some other problems.
>>>
>>> Thanks.
>>>
>>> On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
>>> thanu...@wso2.com> wrote:
>>>
 Hi Gobinath,

 I tried the same sample and can see the data in dashboards. But you
 have to wait until smart_home_script spark script is get executed 
 after you
 ran the sample java client to publish the data to see the data in
 dashboard. Because the spark script used for this sample
 (smart_home_script) is scheduled to run every 3 minutes to copy data
 received to corresponding gadgets' datasources.

 Thanks.

 On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan <
 gobin...@wso2.com> wrote:

> Hi team,
> The Dashboard of DAS does not generate graphical charts for smart
> home application sample as expected in QuickStartGuide
> 
>  (Screenshot
> is attached). However, the "Data Explorer" shows the data as 
> expected. I
> face the same problem in both Chro

Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Nipuna Chandradasa
Hi All,

Dashboard Server team have given few patches to solve gadget loading
related issues happening in a real production environment where we don't
use localhost. Those issues are mentioned in the mail thread i mentioned in
the previous mail.

Thank you,

On Fri, May 13, 2016 at 10:54 AM, Iranga Muthuthanthri 
wrote:

> Think we need to have a note on the above in the QSG
>
> On Fri, May 13, 2016 at 10:51 AM, Nipuna Chandradasa 
> wrote:
>
>> Hi Gobinath,
>>
>> Here what you have to do is to create a new certificate for your IP and
>> import it in to wso2carbon.jks and clienttruststore.jks.
>> Refer to this blog[1] for more details.
>>
>> [1].
>> http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html
>>
>> Regards,
>> Marcus
>>
>> On Fri, May 13, 2016 at 10:46 AM, Gobinath Loganathan 
>> wrote:
>>
>>> Hi Nipuna,
>>> I got the same error. Thank you for your help, I will have a look.
>>>
>>> For reference, I have added my console error message here:
>>> [2016-05-13 10:37:08,655] ERROR
>>> {org.apache.shindig.gadgets.render.DefaultServiceFetcher} -  Services
>>> methods from the https://10.100.7.87:9443/shindig/rpc endpoint could
>>> not be fetched. The following error occurred: javax.net.ssl.SSLException:
>>> hostname in certificate didn't match: <10.100.7.87> != .
>>> [2016-05-13 10:37:09,026]  INFO
>>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -  The following
>>> exception occurred when fetching
>>> https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml:
>>> 8 ms elapsed.
>>> [2016-05-13 10:37:09,027]  INFO
>>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
>>> javax.net.ssl.SSLException: hostname in certificate didn't match:
>>> <10.100.7.87> != 
>>> at
>>> org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
>>> at
>>> org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
>>> ...
>>>
>>>
>>> Thanks.
>>>
>>> On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa 
>>> wrote:
>>>
 Hi Gobinath,

 Is there any error on the console or the debug tool of the browser
 saying IP !=  ?
 This is not because of you don't have data. Here gadgets are not even
 rendered. This can be because of a SSLException (Your certificate doesn't
 match your host) or if you have a LB in front your DAS with proxy port
 configured, shindig uses server port to render not the proxy port... so 404
 error..

 Please have a look at mail tread mention here which is in support.

  [DAS] Hostname issue while adding gadgets to dashboard when fronted
 by an LB

  Regards,


 On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan <
 gobin...@wso2.com> wrote:

> Hi Thanuja,
> I also think so. Even I executed the 'smart_home_script' manually,
> but no luck.
>
> Thanks.
>
> On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
> thanu...@wso2.com> wrote:
>
>> Hi Gobinath,
>>
>> But if the corresponding gadget datasources don't have data, It will
>> show 'Data is not available for plotting' messgae in gadgets. I've 
>> checked
>> this with chrome version 49.0.2623.87. But in your case, gadget is
>> totally empty. This might be due to some other problems.
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
>> thanu...@wso2.com> wrote:
>>
>>> Hi Gobinath,
>>>
>>> I tried the same sample and can see the data in dashboards. But you
>>> have to wait until smart_home_script spark script is get executed after 
>>> you
>>> ran the sample java client to publish the data to see the data in
>>> dashboard. Because the spark script used for this sample
>>> (smart_home_script) is scheduled to run every 3 minutes to copy data
>>> received to corresponding gadgets' datasources.
>>>
>>> Thanks.
>>>
>>> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan <
>>> gobin...@wso2.com> wrote:
>>>
 Hi team,
 The Dashboard of DAS does not generate graphical charts for smart
 home application sample as expected in QuickStartGuide
 
  (Screenshot
 is attached). However, the "Data Explorer" shows the data as expected. 
 I
 face the same problem in both Chrome and Firefox.

 Could anyone suggest a solution for this?


 Thanks.

 --
 *Gobinath **Loganathan*
 Software Engineer, WSO2 Inc. http://wso2.com

 Email  : gobin...@wso2.com
 Mobile : (+94) 770 780 210
 Blog: javahelps.com 



 __

Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Iranga Muthuthanthri
Think we need to have a note on the above in the QSG

On Fri, May 13, 2016 at 10:51 AM, Nipuna Chandradasa 
wrote:

> Hi Gobinath,
>
> Here what you have to do is to create a new certificate for your IP and
> import it in to wso2carbon.jks and clienttruststore.jks.
> Refer to this blog[1] for more details.
>
> [1].
> http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html
>
> Regards,
> Marcus
>
> On Fri, May 13, 2016 at 10:46 AM, Gobinath Loganathan 
> wrote:
>
>> Hi Nipuna,
>> I got the same error. Thank you for your help, I will have a look.
>>
>> For reference, I have added my console error message here:
>> [2016-05-13 10:37:08,655] ERROR
>> {org.apache.shindig.gadgets.render.DefaultServiceFetcher} -  Services
>> methods from the https://10.100.7.87:9443/shindig/rpc endpoint could not
>> be fetched. The following error occurred: javax.net.ssl.SSLException:
>> hostname in certificate didn't match: <10.100.7.87> != .
>> [2016-05-13 10:37:09,026]  INFO
>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -  The following
>> exception occurred when fetching
>> https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml:
>> 8 ms elapsed.
>> [2016-05-13 10:37:09,027]  INFO
>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
>> javax.net.ssl.SSLException: hostname in certificate didn't match:
>> <10.100.7.87> != 
>> at
>> org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
>> at
>> org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
>> ...
>>
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa 
>> wrote:
>>
>>> Hi Gobinath,
>>>
>>> Is there any error on the console or the debug tool of the browser
>>> saying IP !=  ?
>>> This is not because of you don't have data. Here gadgets are not even
>>> rendered. This can be because of a SSLException (Your certificate doesn't
>>> match your host) or if you have a LB in front your DAS with proxy port
>>> configured, shindig uses server port to render not the proxy port... so 404
>>> error..
>>>
>>> Please have a look at mail tread mention here which is in support.
>>>
>>>  [DAS] Hostname issue while adding gadgets to dashboard when fronted by
>>> an LB
>>>
>>>  Regards,
>>>
>>>
>>> On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan >> > wrote:
>>>
 Hi Thanuja,
 I also think so. Even I executed the 'smart_home_script' manually, but
 no luck.

 Thanks.

 On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
 thanu...@wso2.com> wrote:

> Hi Gobinath,
>
> But if the corresponding gadget datasources don't have data, It will
> show 'Data is not available for plotting' messgae in gadgets. I've checked
> this with chrome version 49.0.2623.87. But in your case, gadget is
> totally empty. This might be due to some other problems.
>
> Thanks.
>
> On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
> thanu...@wso2.com> wrote:
>
>> Hi Gobinath,
>>
>> I tried the same sample and can see the data in dashboards. But you
>> have to wait until smart_home_script spark script is get executed after 
>> you
>> ran the sample java client to publish the data to see the data in
>> dashboard. Because the spark script used for this sample
>> (smart_home_script) is scheduled to run every 3 minutes to copy data
>> received to corresponding gadgets' datasources.
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan <
>> gobin...@wso2.com> wrote:
>>
>>> Hi team,
>>> The Dashboard of DAS does not generate graphical charts for smart
>>> home application sample as expected in QuickStartGuide
>>> 
>>>  (Screenshot
>>> is attached). However, the "Data Explorer" shows the data as expected. I
>>> face the same problem in both Chrome and Firefox.
>>>
>>> Could anyone suggest a solution for this?
>>>
>>>
>>> Thanks.
>>>
>>> --
>>> *Gobinath **Loganathan*
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>
>>> Email  : gobin...@wso2.com
>>> Mobile : (+94) 770 780 210
>>> Blog: javahelps.com 
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanuja Uruththirakodeeswaran
>> Software Engineer
>> WSO2 Inc.;http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 774363167
>>
>
>
>
> --
> Thanuja Uruththirakodeeswaran
> Software Engineer
> WSO2 Inc.;http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 774363

Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Gihan Anuruddha
Adding a certificate is the permanent solution. But for the moment you can
use localhost instead of your IP address.

On Fri, May 13, 2016 at 10:51 AM, Nipuna Chandradasa 
wrote:

> Hi Gobinath,
>
> Here what you have to do is to create a new certificate for your IP and
> import it in to wso2carbon.jks and clienttruststore.jks.
> Refer to this blog[1] for more details.
>
> [1].
> http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html
>
> Regards,
> Marcus
>
> On Fri, May 13, 2016 at 10:46 AM, Gobinath Loganathan 
> wrote:
>
>> Hi Nipuna,
>> I got the same error. Thank you for your help, I will have a look.
>>
>> For reference, I have added my console error message here:
>> [2016-05-13 10:37:08,655] ERROR
>> {org.apache.shindig.gadgets.render.DefaultServiceFetcher} -  Services
>> methods from the https://10.100.7.87:9443/shindig/rpc endpoint could not
>> be fetched. The following error occurred: javax.net.ssl.SSLException:
>> hostname in certificate didn't match: <10.100.7.87> != .
>> [2016-05-13 10:37:09,026]  INFO
>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -  The following
>> exception occurred when fetching
>> https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml:
>> 8 ms elapsed.
>> [2016-05-13 10:37:09,027]  INFO
>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
>> javax.net.ssl.SSLException: hostname in certificate didn't match:
>> <10.100.7.87> != 
>> at
>> org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
>> at
>> org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
>> ...
>>
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa 
>> wrote:
>>
>>> Hi Gobinath,
>>>
>>> Is there any error on the console or the debug tool of the browser
>>> saying IP !=  ?
>>> This is not because of you don't have data. Here gadgets are not even
>>> rendered. This can be because of a SSLException (Your certificate doesn't
>>> match your host) or if you have a LB in front your DAS with proxy port
>>> configured, shindig uses server port to render not the proxy port... so 404
>>> error..
>>>
>>> Please have a look at mail tread mention here which is in support.
>>>
>>>  [DAS] Hostname issue while adding gadgets to dashboard when fronted by
>>> an LB
>>>
>>>  Regards,
>>>
>>>
>>> On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan >> > wrote:
>>>
 Hi Thanuja,
 I also think so. Even I executed the 'smart_home_script' manually, but
 no luck.

 Thanks.

 On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
 thanu...@wso2.com> wrote:

> Hi Gobinath,
>
> But if the corresponding gadget datasources don't have data, It will
> show 'Data is not available for plotting' messgae in gadgets. I've checked
> this with chrome version 49.0.2623.87. But in your case, gadget is
> totally empty. This might be due to some other problems.
>
> Thanks.
>
> On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
> thanu...@wso2.com> wrote:
>
>> Hi Gobinath,
>>
>> I tried the same sample and can see the data in dashboards. But you
>> have to wait until smart_home_script spark script is get executed after 
>> you
>> ran the sample java client to publish the data to see the data in
>> dashboard. Because the spark script used for this sample
>> (smart_home_script) is scheduled to run every 3 minutes to copy data
>> received to corresponding gadgets' datasources.
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan <
>> gobin...@wso2.com> wrote:
>>
>>> Hi team,
>>> The Dashboard of DAS does not generate graphical charts for smart
>>> home application sample as expected in QuickStartGuide
>>> 
>>>  (Screenshot
>>> is attached). However, the "Data Explorer" shows the data as expected. I
>>> face the same problem in both Chrome and Firefox.
>>>
>>> Could anyone suggest a solution for this?
>>>
>>>
>>> Thanks.
>>>
>>> --
>>> *Gobinath **Loganathan*
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>
>>> Email  : gobin...@wso2.com
>>> Mobile : (+94) 770 780 210
>>> Blog: javahelps.com 
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanuja Uruththirakodeeswaran
>> Software Engineer
>> WSO2 Inc.;http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 774363167
>>
>
>
>
> --
> Thanuja Uruththirakodeeswaran
> Software Engineer
> WSO2 Inc.;http://wso2.com

Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Nipuna Chandradasa
Hi Gobinath,

Here what you have to do is to create a new certificate for your IP and
import it in to wso2carbon.jks and clienttruststore.jks.
Refer to this blog[1] for more details.

[1].
http://udarakr.blogspot.com/2014/04/you-may-get-following-error-and-your.html

Regards,
Marcus

On Fri, May 13, 2016 at 10:46 AM, Gobinath Loganathan 
wrote:

> Hi Nipuna,
> I got the same error. Thank you for your help, I will have a look.
>
> For reference, I have added my console error message here:
> [2016-05-13 10:37:08,655] ERROR
> {org.apache.shindig.gadgets.render.DefaultServiceFetcher} -  Services
> methods from the https://10.100.7.87:9443/shindig/rpc endpoint could not
> be fetched. The following error occurred: javax.net.ssl.SSLException:
> hostname in certificate didn't match: <10.100.7.87> != .
> [2016-05-13 10:37:09,026]  INFO
> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -  The following
> exception occurred when fetching
> https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml:
> 8 ms elapsed.
> [2016-05-13 10:37:09,027]  INFO
> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
> javax.net.ssl.SSLException: hostname in certificate didn't match:
> <10.100.7.87> != 
> at
> org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
> at
> org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
> ...
>
>
> Thanks.
>
> On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa 
> wrote:
>
>> Hi Gobinath,
>>
>> Is there any error on the console or the debug tool of the browser saying
>> IP !=  ?
>> This is not because of you don't have data. Here gadgets are not even
>> rendered. This can be because of a SSLException (Your certificate doesn't
>> match your host) or if you have a LB in front your DAS with proxy port
>> configured, shindig uses server port to render not the proxy port... so 404
>> error..
>>
>> Please have a look at mail tread mention here which is in support.
>>
>>  [DAS] Hostname issue while adding gadgets to dashboard when fronted by
>> an LB
>>
>>  Regards,
>>
>>
>> On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan 
>> wrote:
>>
>>> Hi Thanuja,
>>> I also think so. Even I executed the 'smart_home_script' manually, but
>>> no luck.
>>>
>>> Thanks.
>>>
>>> On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
>>> thanu...@wso2.com> wrote:
>>>
 Hi Gobinath,

 But if the corresponding gadget datasources don't have data, It will
 show 'Data is not available for plotting' messgae in gadgets. I've checked
 this with chrome version 49.0.2623.87. But in your case, gadget is
 totally empty. This might be due to some other problems.

 Thanks.

 On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
 thanu...@wso2.com> wrote:

> Hi Gobinath,
>
> I tried the same sample and can see the data in dashboards. But you
> have to wait until smart_home_script spark script is get executed after 
> you
> ran the sample java client to publish the data to see the data in
> dashboard. Because the spark script used for this sample
> (smart_home_script) is scheduled to run every 3 minutes to copy data
> received to corresponding gadgets' datasources.
>
> Thanks.
>
> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan <
> gobin...@wso2.com> wrote:
>
>> Hi team,
>> The Dashboard of DAS does not generate graphical charts for smart
>> home application sample as expected in QuickStartGuide
>> 
>>  (Screenshot
>> is attached). However, the "Data Explorer" shows the data as expected. I
>> face the same problem in both Chrome and Firefox.
>>
>> Could anyone suggest a solution for this?
>>
>>
>> Thanks.
>>
>> --
>> *Gobinath **Loganathan*
>> Software Engineer, WSO2 Inc. http://wso2.com
>>
>> Email  : gobin...@wso2.com
>> Mobile : (+94) 770 780 210
>> Blog: javahelps.com 
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanuja Uruththirakodeeswaran
> Software Engineer
> WSO2 Inc.;http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 774363167
>



 --
 Thanuja Uruththirakodeeswaran
 Software Engineer
 WSO2 Inc.;http://wso2.com
 lean.enterprise.middleware

 mobile: +94 774363167

>>>
>>>
>>>
>>> --
>>> *Gobinath **Loganathan*
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>
>>> Email  : gobin...@wso2.com
>>> Mobile : (+94) 770 780 210
>>> Blog: javahelps.com 
>>>
>>>
>>>
>>> __

Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Gobinath Loganathan
Hi Nipuna,
I got the same error. Thank you for your help, I will have a look.

For reference, I have added my console error message here:
[2016-05-13 10:37:08,655] ERROR
{org.apache.shindig.gadgets.render.DefaultServiceFetcher} -  Services
methods from the https://10.100.7.87:9443/shindig/rpc endpoint could not be
fetched. The following error occurred: javax.net.ssl.SSLException: hostname
in certificate didn't match: <10.100.7.87> != .
[2016-05-13 10:37:09,026]  INFO
{org.apache.shindig.gadgets.http.BasicHttpFetcher} -  The following
exception occurred when fetching
https://10.100.7.87:9443/portal/store/carbon.super/gadget/Peak_Usage_Range_-_Seattle/index.xml:
8 ms elapsed.
[2016-05-13 10:37:09,027]  INFO
{org.apache.shindig.gadgets.http.BasicHttpFetcher} -
javax.net.ssl.SSLException: hostname in certificate didn't match:
<10.100.7.87> != 
at
org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
at
org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
...


Thanks.

On Fri, May 13, 2016 at 10:34 AM, Nipuna Chandradasa 
wrote:

> Hi Gobinath,
>
> Is there any error on the console or the debug tool of the browser saying
> IP !=  ?
> This is not because of you don't have data. Here gadgets are not even
> rendered. This can be because of a SSLException (Your certificate doesn't
> match your host) or if you have a LB in front your DAS with proxy port
> configured, shindig uses server port to render not the proxy port... so 404
> error..
>
> Please have a look at mail tread mention here which is in support.
>
>  [DAS] Hostname issue while adding gadgets to dashboard when fronted by
> an LB
>
>  Regards,
>
>
> On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan 
> wrote:
>
>> Hi Thanuja,
>> I also think so. Even I executed the 'smart_home_script' manually, but
>> no luck.
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
>> thanu...@wso2.com> wrote:
>>
>>> Hi Gobinath,
>>>
>>> But if the corresponding gadget datasources don't have data, It will
>>> show 'Data is not available for plotting' messgae in gadgets. I've checked
>>> this with chrome version 49.0.2623.87. But in your case, gadget is
>>> totally empty. This might be due to some other problems.
>>>
>>> Thanks.
>>>
>>> On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
>>> thanu...@wso2.com> wrote:
>>>
 Hi Gobinath,

 I tried the same sample and can see the data in dashboards. But you
 have to wait until smart_home_script spark script is get executed after you
 ran the sample java client to publish the data to see the data in
 dashboard. Because the spark script used for this sample
 (smart_home_script) is scheduled to run every 3 minutes to copy data
 received to corresponding gadgets' datasources.

 Thanks.

 On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan >>> > wrote:

> Hi team,
> The Dashboard of DAS does not generate graphical charts for smart home
> application sample as expected in QuickStartGuide
> 
>  (Screenshot
> is attached). However, the "Data Explorer" shows the data as expected. I
> face the same problem in both Chrome and Firefox.
>
> Could anyone suggest a solution for this?
>
>
> Thanks.
>
> --
> *Gobinath **Loganathan*
> Software Engineer, WSO2 Inc. http://wso2.com
>
> Email  : gobin...@wso2.com
> Mobile : (+94) 770 780 210
> Blog: javahelps.com 
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Thanuja Uruththirakodeeswaran
 Software Engineer
 WSO2 Inc.;http://wso2.com
 lean.enterprise.middleware

 mobile: +94 774363167

>>>
>>>
>>>
>>> --
>>> Thanuja Uruththirakodeeswaran
>>> Software Engineer
>>> WSO2 Inc.;http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 774363167
>>>
>>
>>
>>
>> --
>> *Gobinath **Loganathan*
>> Software Engineer, WSO2 Inc. http://wso2.com
>>
>> Email  : gobin...@wso2.com
>> Mobile : (+94) 770 780 210
>> Blog: javahelps.com 
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nipuna Marcus
> *Software Engineer*
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
> Mobile : +94 (0) 713 667906
> nipu...@wso2.com
>



-- 
*Gobinath **Loganathan*
Software Engineer, WSO2 Inc. http://wso2.com

Email  : gobin...@wso2.com
Mobile : (+94) 770 780 210
Blog: javahelps.com 
[2016-05-13 10:36:38,189]  INFO 
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  

Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Nipuna Chandradasa
Hi Gobinath,

Is there any error on the console or the debug tool of the browser saying
IP !=  ?
This is not because of you don't have data. Here gadgets are not even
rendered. This can be because of a SSLException (Your certificate doesn't
match your host) or if you have a LB in front your DAS with proxy port
configured, shindig uses server port to render not the proxy port... so 404
error..

Please have a look at mail tread mention here which is in support.

 [DAS] Hostname issue while adding gadgets to dashboard when fronted by an
LB

 Regards,


On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan 
wrote:

> Hi Thanuja,
> I also think so. Even I executed the 'smart_home_script' manually, but no
> luck.
>
> Thanks.
>
> On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
> thanu...@wso2.com> wrote:
>
>> Hi Gobinath,
>>
>> But if the corresponding gadget datasources don't have data, It will show
>> 'Data is not available for plotting' messgae in gadgets. I've checked this
>> with chrome version 49.0.2623.87. But in your case, gadget is totally
>> empty. This might be due to some other problems.
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
>> thanu...@wso2.com> wrote:
>>
>>> Hi Gobinath,
>>>
>>> I tried the same sample and can see the data in dashboards. But you have
>>> to wait until smart_home_script spark script is get executed after you ran
>>> the sample java client to publish the data to see the data in dashboard.
>>> Because the spark script used for this sample (smart_home_script) is
>>> scheduled to run every 3 minutes to copy data received to corresponding
>>> gadgets' datasources.
>>>
>>> Thanks.
>>>
>>> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan 
>>> wrote:
>>>
 Hi team,
 The Dashboard of DAS does not generate graphical charts for smart home
 application sample as expected in QuickStartGuide
 
  (Screenshot
 is attached). However, the "Data Explorer" shows the data as expected. I
 face the same problem in both Chrome and Firefox.

 Could anyone suggest a solution for this?


 Thanks.

 --
 *Gobinath **Loganathan*
 Software Engineer, WSO2 Inc. http://wso2.com

 Email  : gobin...@wso2.com
 Mobile : (+94) 770 780 210
 Blog: javahelps.com 



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Thanuja Uruththirakodeeswaran
>>> Software Engineer
>>> WSO2 Inc.;http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 774363167
>>>
>>
>>
>>
>> --
>> Thanuja Uruththirakodeeswaran
>> Software Engineer
>> WSO2 Inc.;http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 774363167
>>
>
>
>
> --
> *Gobinath **Loganathan*
> Software Engineer, WSO2 Inc. http://wso2.com
>
> Email  : gobin...@wso2.com
> Mobile : (+94) 770 780 210
> Blog: javahelps.com 
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nipuna Marcus
*Software Engineer*
WSO2 Inc.
http://wso2.com/ - "lean . enterprise . middleware"
Mobile : +94 (0) 713 667906
nipu...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Inosh Goonewardena
Hi Goidath,

Do you see any exceptions in the server log file? If so can you share with
us.

On Fri, May 13, 2016 at 10:15 AM, Gobinath Loganathan 
wrote:

> Hi Thanuja,
> I also think so. Even I executed the 'smart_home_script' manually, but no
> luck.
>
> Thanks.
>
> On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
> thanu...@wso2.com> wrote:
>
>> Hi Gobinath,
>>
>> But if the corresponding gadget datasources don't have data, It will show
>> 'Data is not available for plotting' messgae in gadgets. I've checked this
>> with chrome version 49.0.2623.87. But in your case, gadget is totally
>> empty. This might be due to some other problems.
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
>> thanu...@wso2.com> wrote:
>>
>>> Hi Gobinath,
>>>
>>> I tried the same sample and can see the data in dashboards. But you have
>>> to wait until smart_home_script spark script is get executed after you ran
>>> the sample java client to publish the data to see the data in dashboard.
>>> Because the spark script used for this sample (smart_home_script) is
>>> scheduled to run every 3 minutes to copy data received to corresponding
>>> gadgets' datasources.
>>>
>>> Thanks.
>>>
>>> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan 
>>> wrote:
>>>
 Hi team,
 The Dashboard of DAS does not generate graphical charts for smart home
 application sample as expected in QuickStartGuide
 
  (Screenshot
 is attached). However, the "Data Explorer" shows the data as expected. I
 face the same problem in both Chrome and Firefox.

 Could anyone suggest a solution for this?


 Thanks.

 --
 *Gobinath **Loganathan*
 Software Engineer, WSO2 Inc. http://wso2.com

 Email  : gobin...@wso2.com
 Mobile : (+94) 770 780 210
 Blog: javahelps.com 



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Thanuja Uruththirakodeeswaran
>>> Software Engineer
>>> WSO2 Inc.;http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 774363167
>>>
>>
>>
>>
>> --
>> Thanuja Uruththirakodeeswaran
>> Software Engineer
>> WSO2 Inc.;http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 774363167
>>
>
>
>
> --
> *Gobinath **Loganathan*
> Software Engineer, WSO2 Inc. http://wso2.com
>
> Email  : gobin...@wso2.com
> Mobile : (+94) 770 780 210
> Blog: javahelps.com 
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,

Inosh Goonewardena
Associate Technical Lead- WSO2 Inc.
Mobile: +94779966317
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Gobinath Loganathan
Hi Thanuja,
I also think so. Even I executed the 'smart_home_script' manually, but no
luck.

Thanks.

On Fri, May 13, 2016 at 10:13 AM, Thanuja Uruththirakodeeswaran <
thanu...@wso2.com> wrote:

> Hi Gobinath,
>
> But if the corresponding gadget datasources don't have data, It will show
> 'Data is not available for plotting' messgae in gadgets. I've checked this
> with chrome version 49.0.2623.87. But in your case, gadget is totally
> empty. This might be due to some other problems.
>
> Thanks.
>
> On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
> thanu...@wso2.com> wrote:
>
>> Hi Gobinath,
>>
>> I tried the same sample and can see the data in dashboards. But you have
>> to wait until smart_home_script spark script is get executed after you ran
>> the sample java client to publish the data to see the data in dashboard.
>> Because the spark script used for this sample (smart_home_script) is
>> scheduled to run every 3 minutes to copy data received to corresponding
>> gadgets' datasources.
>>
>> Thanks.
>>
>> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan 
>> wrote:
>>
>>> Hi team,
>>> The Dashboard of DAS does not generate graphical charts for smart home
>>> application sample as expected in QuickStartGuide
>>> 
>>>  (Screenshot
>>> is attached). However, the "Data Explorer" shows the data as expected. I
>>> face the same problem in both Chrome and Firefox.
>>>
>>> Could anyone suggest a solution for this?
>>>
>>>
>>> Thanks.
>>>
>>> --
>>> *Gobinath **Loganathan*
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>
>>> Email  : gobin...@wso2.com
>>> Mobile : (+94) 770 780 210
>>> Blog: javahelps.com 
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanuja Uruththirakodeeswaran
>> Software Engineer
>> WSO2 Inc.;http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 774363167
>>
>
>
>
> --
> Thanuja Uruththirakodeeswaran
> Software Engineer
> WSO2 Inc.;http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 774363167
>



-- 
*Gobinath **Loganathan*
Software Engineer, WSO2 Inc. http://wso2.com

Email  : gobin...@wso2.com
Mobile : (+94) 770 780 210
Blog: javahelps.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Thanuja Uruththirakodeeswaran
Hi Gobinath,

But if the corresponding gadget datasources don't have data, It will show
'Data is not available for plotting' messgae in gadgets. I've checked this
with chrome version 49.0.2623.87. But in your case, gadget is totally
empty. This might be due to some other problems.

Thanks.

On Fri, May 13, 2016 at 9:57 AM, Thanuja Uruththirakodeeswaran <
thanu...@wso2.com> wrote:

> Hi Gobinath,
>
> I tried the same sample and can see the data in dashboards. But you have
> to wait until smart_home_script spark script is get executed after you ran
> the sample java client to publish the data to see the data in dashboard.
> Because the spark script used for this sample (smart_home_script) is
> scheduled to run every 3 minutes to copy data received to corresponding
> gadgets' datasources.
>
> Thanks.
>
> On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan 
> wrote:
>
>> Hi team,
>> The Dashboard of DAS does not generate graphical charts for smart home
>> application sample as expected in QuickStartGuide
>> 
>>  (Screenshot
>> is attached). However, the "Data Explorer" shows the data as expected. I
>> face the same problem in both Chrome and Firefox.
>>
>> Could anyone suggest a solution for this?
>>
>>
>> Thanks.
>>
>> --
>> *Gobinath **Loganathan*
>> Software Engineer, WSO2 Inc. http://wso2.com
>>
>> Email  : gobin...@wso2.com
>> Mobile : (+94) 770 780 210
>> Blog: javahelps.com 
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanuja Uruththirakodeeswaran
> Software Engineer
> WSO2 Inc.;http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 774363167
>



-- 
Thanuja Uruththirakodeeswaran
Software Engineer
WSO2 Inc.;http://wso2.com
lean.enterprise.middleware

mobile: +94 774363167
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DAS 3.0.1 - Empty Dashboard for Smart Home Sample

2016-05-12 Thread Thanuja Uruththirakodeeswaran
Hi Gobinath,

I tried the same sample and can see the data in dashboards. But you have to
wait until smart_home_script spark script is get executed after you ran the
sample java client to publish the data to see the data in dashboard.
Because the spark script used for this sample (smart_home_script) is
scheduled to run every 3 minutes to copy data received to corresponding
gadgets' datasources.

Thanks.

On Fri, May 13, 2016 at 9:25 AM, Gobinath Loganathan 
wrote:

> Hi team,
> The Dashboard of DAS does not generate graphical charts for smart home
> application sample as expected in QuickStartGuide
> 
>  (Screenshot
> is attached). However, the "Data Explorer" shows the data as expected. I
> face the same problem in both Chrome and Firefox.
>
> Could anyone suggest a solution for this?
>
>
> Thanks.
>
> --
> *Gobinath **Loganathan*
> Software Engineer, WSO2 Inc. http://wso2.com
>
> Email  : gobin...@wso2.com
> Mobile : (+94) 770 780 210
> Blog: javahelps.com 
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanuja Uruththirakodeeswaran
Software Engineer
WSO2 Inc.;http://wso2.com
lean.enterprise.middleware

mobile: +94 774363167
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev