Installing the Audience Targeting Application

This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.

Currently, the Audience Targeting EE app can not be installed by simply downloading the app from Liferay Marketplace and putting it directly into the deploy folder of a running Liferay bundle.

This article describes the solution to successfully install the Audience Targeting EE portlet.


Affected Products

Liferay Portal 6.2 EE GA1 and above*

*Note: If you’re running Liferay Portal on WebLogic, note that the Audience Targeting app requires Liferay 6.2 EE SP10 and above to work properly. If you’re running Liferay on WebSphere, note that the Audience Targeting app requires Liferay 6.2 EE SP11 and above to work properly.

The easiest and most efficient way to resolve this issue is simply to upgrade to the latest version of Audience Targeting 1.1.2. However, if you wish to continue using Audience Targeting 1.0, the following steps can be used as a workaround to resolve the issue:

  1. Shut down the portal.
  2. Download the .lpkg file and unzip its contents into the deploy folder.
    Go to the Marketplace section in the Portal and install the Audience targeting app through the control panel
  3. Restart the portal.

​If the Audience Targeting App in installed with all the rules, tracking actions and reports, it may be necessary to adjust some JVM parameters of the server. Please check the values of the -Xmx and -XX:MaxPermSize in your If they are set to 1024m and 256m, respectively (those are the default values) the performance can be improved by doubling those values:

CATALINA_OPTS="$CATALINA_OPTS -Dfile.encoding=UTF8 -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Duser.timezone=GMT -Xmx2048m -XX:MaxPermSize=512m

Additional Information

Was this article helpful?
0 out of 0 found this helpful