I have been looking for my worklight.properties file and the only property file is in the application center folder. In there all of the properties are commented out. However, there is a /tmp/migration- and some numbers that also have the worklight properties which seems to have some information in it. Does anyone know where I can get this file and or where to copy the worklight.property files on my liberty server so that the server sees it?
Thanks!
https://www.dropbox.com/s/q8nul8kiquzpl5r/analyticsserver.xml?dl=0
https://www.dropbox.com/s/pog4e73s1efl5wv/defaultServer1.xml?dl=0
The file is on your worklight project on the studio at: /server/conf/worklight.properties
And also inside of the generated WAR file of your project that is used for the runtime. at: WEB-INF/classes/conf
The WAR file is under the "bin" folder of the project.
Some clarifications based on the questions around Analytics:
1 - It is a handled by second war file that can be run in a isolated server, a minimal config could be for example:
server.xml:(For analytics server, not a production config.)
For production setup take a look on this page: http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.monitor.doc/monitor/t_setting_up_production_cluster.html
The analytics tool requires that the application will opt-in on its use, this can be done by the worklight.properties or via JNDI definition on the server with the application runtime(usually known as "/worklight" application) http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.0.0/com.ibm.worklight.help.doc/admin/t_using_JNDI_lookup_to_override_WL_properties.html
Here, the property to be set could be this for example:
-> code above just as a illustration of an App that has the context root as "worklight", therefor its jndi properties start as "worklight/". -> this property:
This property will guide the application to know to where send the info and also the worklight console to where to send the information to be stored.
In case, you have problems to see data on the analytics console, ensure that the application is aware of the Analytics Tool, by cheking if there is a icon for the "Analytics Dashboard", on the top-right of the table list of applications.
Also, check if the analytics is set properly as either been "master" and have a "data" node defined, or having both behaviors by not having "analytics/nodetype" jndi property set(therefore, acting as both).
Hope this update, helps in your problem.