Deploying Unica Contact Central

Prerequisites

Unica Contact Central requires JRE 1.8 or higher to work.

Note: Unica Contact Central does not support clustered environment.

ContactCentralDS JNDI resource for Contact Central database is required.

Setting Unica Contact Central and Unica Platform home JVM argument

Add the following JVM argument to the application server, where Unica Contact Central is required to be deployed.

- DCONTACTCENTRAL_HOME = path_where_contact_central_is_installed

- DUNICA_PLATFORM_HOME = platform_installation_home_directory_path

For example: CONTACTCENTRAL_HOME =/opt/Platform/ContactCentral

Point CONTACTCENTRAL_HOME to the directory, where Unica Contact Central is installed. It is installed within the ContactCentral directory under UNICA_PLATFORM_HOME.

Provide write permissions to the logs directory already created inside CONTACTCENTRAL_HOME.

Deployment procedure

You must follow a set of guidelines, when you deploy Unica Contact Central on your web application server When you ran the suite installer, you completed the following action:

  • You created the WAR file of Unica Contact Central (ContactCentral.war) inside UNICA_PLATFORM_HOME/ContactCentral directory. UNICA_PLATFORM_HOME refers to the Unica Platform installation location.
Note:
  • It is assumed that you possess information on how to work with your web application server. For more information, see the web application server documentation.
  • Contact Central deployment is not supported on JBoss.

Guidelines for deploying Unica Contact Central on Apache Tomcat®

You must follow a set of guidelines when you deploy Unica Contact Central onApache Tomcat. Ensure that the version of Apache Tomcat meets the requirementsthat are described in the Recommended Software Environments and Minimum SystemRequirements document. Use the following guidelines when you deploy Unica ContentIntegration on Apache Tomcat.
  1. Deploy the HCL ContactCentral.war file as an enterprise application on TomcatApache server. Complete the following tasks if your installation must support non-ASCIIcharacters, for example for Portuguese or for locales that require multi-byte characters.
  2. Edit the setenv.sh file for the respective product instances script in the bindirectory under your tomcat instances directory to add -Dfile.encoding=UTF-8Dclient.encoding.override=UTF-8.
  3. You must add Unica Platform and Contact Central data source in ContactCentral.xml along with the path of ContactCentral.war to the ContactCentral Tomcat instance. For example

    <Context docBase="<Platform_Install_Path>\platform\ContactCentral\ContactCental.war">

    <Resource name="UnicaPlatformDS" factory="com.unica.manager.tomcat.utils.TomcatDSFactory" auth="Application" type="javax.sql.DataSource"

    maxActive="30" maxIdle="10" maxWait="10000" username="<db user for Platform schema>" password="<db password>" driverClassName= "<db specific class name>" url="<db specific jdbc url>"/>

    <Resource name="ContactCentralDS" factory="com.unica.manager.tomcat.utils.TomcatDSFactory" auth="Application" type="javax.sql.DataSource"

    maxActive="30" maxIdle="10" maxWait="10000"

    username="<db user for Contact central schema>" password="<db password>" driverClassName=

    "<db specific class name>" url="<db specific jdbc url>

    </Context>"/>

  4. Restart Tomcat.
Note: This is the sample xml configuration.

Unica Contact Central | User Role Creation

The procedure included in this section is not required for the following scenarios:

It is a fresh installation. The installation process creates this role under default partition(partition1).

It is an upgrade and only one partition exists in the current system.

In case, it is an upgrade and system contains more than one partition, you must execute the following command manually for each partition, except partition1. The command exists under <PLATFORM_HOME>\tools\bin directory inside your Platform installation directory. This creates a Contact Central user role under each partition.

On Windows

populateDb.bat -n ContactCentral -p <partition_name>

On Unix

populateDb.sh -n ContactCentral -p <partition_name>