Symptoms

The property trackingurl in the node libs/wcm/core/config.publish/com.day.cq.wcm.core.stats.PageViewStatistics has been updated to enable page statistics tracking. However, this trackingurl is not being used by the page statistics module.

Resolution

How the trackingurl configuration is loaded will depends on when the configuration was updated.

At runtime, any configuration changes made will trigger a reload the configuration in the following order:

  1. modifying a configuration in the Felix console (i.e. CQ WCM Page Statistics) will take immediate effect as it takes precedence at runtime.
  2. modifying a configuration in /apps/*/config will take immediate effect.
  3. modifying a configuration in /libs/*/config will take immediate effect, unless it is masked by a configuration in /apps.

At startup time, configuration changes are loaded as follows:

  1. Repository nodes with type sling:OsgiConfig under /apps/*/config.
  2. Repository nodes with type sling:OsgiConfig under /libs/*/config.
  3. Any .config files from <cq-installation-dir>/crx-quickstart/launchpad/config/ on the local file system.

Depending on whether the configuration was done at runtime or startup time, the appropriate configuration for trackingurl will be used.

In general, OSGI configurations are recommended to keep your configuration under /apps within the repository. Additional information can be found here: http://dev.day.com/docs/en/cq/current/deploying/configuring_osgi.html

Applies to

CQ 5.2.x, CQ 5.3

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책