Creating JDBC connections in web application server

Create JDBC connections on each of the web application servers where Campaign is deployed. Campaign uses the JDBC connections to access the required databases.

About this task

Use the following list to determine which JDBC connections you must create for the Campaign web application. The steps include the suggested and required JNDI names.

For more information about creating JDBC connections in your web application server, see the WebLogic or WebSphere® documentation.

Procedure

  1. Create a connection to the database holding the Marketing Platform system tables. Use UnicaPlatformDS as the JNDI name.
    Important: UnicaPlatformDS is the required JNDI name.

    If you are deploying Campaign in the same JVM as your Marketing Platform deployment, you have probably already set up this connection.

    Note: If you are using WebLogic to configure a connection to an Oracle or DB2® database, you must also specify the database user name in the form user=<DBUser> in the Properties section on the Connection Pool tab.
  2. Create a connection to the database holding the Campaign system tables.

    You can allow the installer to create this data source (for one partition only) when you install Campaign. To enable automatic data source creation during installation, on the Datasource Creation panel, select the Create Contact Optimization Datasource check box and supply information about your application server.

    • The installer creates the data source using campaignPartition1DS as the JNDI name.
    • Note that, if you are using WebLogic, you must add the JDBC driver to your classpath manually even if you allow the installer to create the data source. The installer does this automatically for WebSphere.

    If you do not want to allow the installer to create the data source, then you must create this data source.

    If there is one partition, the suggested JNDI name is campaignPartition1DS.

    If there are multiple partitions,, a best practice is to use campaignPartition1DS for the first connection, campaignPartition2DS for the second, and so on.
    Note: This practice is provided as an example. You can specify any JNDI names for Campaign system table connections.
  3. Record all JNDI names in theContact Optimization installation worksheet