Configuring the web application server for your JDBC driver

The web application server where you plan to deploy Contact Optimization must contain the correct JAR file to support JDBC connections. This enables your web application to connect to the system tables. The location of the JAR file must be included in the class path of the web application server.

About this task

If you are using WebSphere®, and if you allow the installer to create the data source when you install the product, you can skip the step in this procedure about setting the classpath. 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. If you do not want to allow the installer to create the data source, then perform this entire procedure.

If you are using WebLogic, you must perform this entire procedure.


  1. Consult the Recommended Software Environments and Minimum System Requirements document to determine the correct JAR file for your database type.
  2. Obtain the latest vendor-provided Type 4 JDBC driver that is supported by HCL® Marketing Software.
    • If the driver does not exist on the machine where you plan to deploy Campaign, copy the driver to any location on that machine. Unpack the driver in a path that does not include spaces.
    • If you obtain the driver from a machine where the data source client is installed, verify that the version is supported.
  3. Include the full path and file name of the driver in the classpath of the web application server where you plan to deploy Campaign.
    • For all supported versions of WebLogic, set the classpath in the setDomainEnv script in the WebLogic_domain_directory/bin directory where environment variables are configured.

      The driver must be the first entry in the CLASSPATH list of values before any existing values. For example:


      		export CLASSPATH


      set CLASSPATH=c:\oracle\jdbc\lib\ojdbc7.jar;%PRE_CLASSPATH%;
    • For all supported versions of WebSphere, set the classpath in the Administration console when you set up the JDBC providers for the HCL Marketing Software products.
  4. Restart the web application server so your changes take effect.

    During startup, monitor the console log to confirm that the classpath contains the path to the database driver.