0

I created a tenant in WSO2 DAS and I am authenticated with that tenant. I created a stream event, when I go to the dashboard designer and try to create a gadget I get the following error.

[2016-02-11 12:08:15,207] ERROR {org.wso2.carbon.analytics.jsservice.AnalyticsJSServiceConnector} -  Failed to get the table schema for table: TT : [-1234:TT] does not exist org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsTableNotAvailableException: [-1234:TT] does not exist

enter image description here

maikelm
  • 403
  • 6
  • 30

3 Answers3

1

This is the solution that worked for me.

Go to the file:

<DAS_HOME>/repository/deployment/server/jaggeryapps/portal/controllers/apis/analytics.jag

and change line 80 to: loggedInUser = token[USERNAME]+"@"+token["domain"];

Tony Babarino
  • 3,355
  • 4
  • 32
  • 44
0

If you created the stream by logging using tenant credentials, you need to log into Analytic Dashboards using same tenant credentials. Streams created for one tenant is not available for other tenants. According to your screenshot you have been logged using admin credentials.

Tharik Kanaka
  • 2,490
  • 6
  • 31
  • 54
  • no, says admin becouse the tenant created was admin@test.com. But I am loged in Dashboard designer as admin@test.com. The table/event stream that I can access correspond to this tenant. The problem is when I select table/event, the system not show the fields. – maikelm Feb 12 '16 at 13:22
0

I have the same problem, I am using a tenant credentials to access the dashboard designer and when I try to create a gadget I get the same problem, if I do it with the super tenant I can create the gadget without problem.