Configure PolicyCenter to use an indirect JNDI data source

Procedure

  1. In the PolicyCenter Studio Project window, expand configuration > config:
  2. Open file database-config.xml.
  3. Remove the <dbcp-connection-pool> element.
  4. Add a <jndi-connection-pool> element and specify the JNDI name you assign to the data source as a datasource-name attribute.
    After you complete this process, the <database> element looks similar to the following:
    <database name="PolicyCenterDatabase" dbtype="oracle|sqlserver">
      <jndi-connection-pool datasource-name="java:comp/env/jdbc/DataSourceName"/>
      ...
    </database>
  5. Close and save the database-config.xml file.
  6. Rebuild and install the PolicyCenter application EAR or WAR file.