Deploying Unica Interact on Tomcat Application Server
You can deploy the Unica Interact WAR on the Tomcat Application Server (TAS).
Procedure to include during Tomcat Application Server configuration
When you configure Unica Interact on Tomcat Application Server you must perform the following steps:
You must add Test, Production and Interact Runtime Data Source in Campaign.xml of the Unica Campaign Tomcat instance. For
example:
<Resource name="<testDataSource>" factory="com.unica.manager.tomcat.utils.TomcatDSFactory"
auth="Application" type="javax.sql.DataSource"
maxActive="30" maxIdle="10" maxWait="10000"
username="<db user for test schema>" password="<db password>" driverClassName=
"<db specific class name>" url="<db specific jdbc url>"/>
<Resource name="<prodDataSource>" factory="com.unica.manager.tomcat.utils.TomcatDSFactory"
auth="Application" type="javax.sql.DataSource"
maxActive="30" maxIdle="10" maxWait="10000"
username="<db user for prod schema>" password="<db password>" driverClassName=
"<db specific class name>" url="<db specific jdbc url>"/>
<Resource name="<InteractRunTimeDataSource>" factory="com.unica.manager.tomcat.utils.TomcatDSFactory"
auth="Application" type="javax.sql.DataSource"
maxActive="30" maxIdle="10" maxWait="10000"
username="<db user for runtime schema>" password="<db password>"
driverClassName="<db specific class name>" url="<db specific jdbc url>"/>
<Resource name="<InteractLearningDS>" factory="com.unica.manager.tomcat.utils.TomcatDSFactory"
auth="Application" type="javax.sql.DataSource"
maxActive="30" maxIdle="10" maxWait="10000"
username="<db user for runtime schema>" password="<db password>"
driverClassName="<db specific class name>" url="<db specific jdbc url>"/>
Note - {{You can encrypt DB password using }}encryptTomcatDBPasswords utility located in <Platform_Home>/tools/bin
Note: Add prefix "
java:/comp/env/
" when defining datasource/JNDI. For
example: Runtime datasource must be given as "java:/comp/env/InteractRTDS
" and
similarly for other datasources: InteractLearningDS, prodUserDataSource, testRunDataSource,
contactAndResponseHistoryDataSource.