Legacy Knowledge Base
Published Jul. 2, 2025

Installing the Audience Targeting Application

Written By

Liferay Support

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

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.

Resolution

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.
    OR 
    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 setenv.sh. 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 -Djava.net.preferIPv4Stack=true -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Duser.timezone=GMT -Xmx2048m -XX:MaxPermSize=512m

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base