错误的BIRT报表分析:IBM工作灯 [英] error on BIRT report analytics: IBM Worklight
问题描述
我想生成在IBM工作灯Android设备BIRT报表。对于这个我下面下面的文章中给出说明:结果
<一href=\"https://www.ibm.com/developerworks/community/blogs/video-portal/entry/worklight_generate_analytics_data_and_view_birt_reports?lang=en\"相对=nofollow>工作灯:生成分析数据和查看BIRT报表
I am trying to generate BIRT report on IBM Worklight for an Android device. For this I am following instructions given in the following article:
Worklight: Generate analytics data and view BIRT reports
我已经采取的步骤是:
-
从朱诺库安装BIRT在Eclipse中。组织/发行/ JUNO
//download.eclipse: - HTTP朱诺:
创建一个工作灯项目,并编辑worklight.properties(请找code以下)
Created a Worklight project with and edited worklight.properties (please find code below)
与数据库已经被安装了SQL Server:工作灯和wl_report
Already being installed SQL server with databases: "worklight" and "wl_report"
添加了Android的环境,建造和部署应用程序,并运行在设备的Android应用程序。然后,我检查了数据库,它拥有的所有表但在没有数据 app_activity_report 表
Added the Android environment, Built and Deploy the application and ran the Android application on device. Then I checked the database, it has all tables but there is no data in "app_activity_report" table
从入门页面下载module_44_0_DeviceAnalytics,将其导入到Eclipse中,单击报表设计,并与数据库连接进行编辑。
Download "module_44_0_DeviceAnalytics" from the Getting Started page, import it into Eclipse, click on the Report design and edit it with the database connection.
正在生成无图。
worklight.properties:
wl.db.type=MYSQL
wl.db.url=jdbc:mysql://*.0.0.1:****/worklight
wl.db.username=root
wl.db.password=root
reports.exportRawData=true
wl.reports.db.type=MYSQL
wl.reports.db.url=jdbc:mysql://*.0.0.1:****/wl_report
wl.reports.db.username=root
wl.reports.db.password=root
任何帮助将是非常美联社preciated。
any help would be highly appreciated.
推荐答案
你有没有确信同时更新initOptions.js(在yourProject \\ APPS \\ yourApp \\ COMMON \\ JS文件夹),变化 connectOnStartup
从假到真?
Have you made sure to also update initOptions.js (in yourProject\apps\yourApp\common\js folder) and change connectOnStartup
from "false" to "true"?
另外,应用程序将无法连接到服务器工作灯,也没有记录到数据库中(到app_activity_report表)将如期举行。
Otherwise, the application will not connect to the Worklight Server and no logging to the database (to the app_activity_report table) will take place.
这篇关于错误的BIRT报表分析:IBM工作灯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!