Configure PolicyCenter to use a direct JNDI data source

Procedure

  1. Open Guidewire Studio™ for PolicyCenter.
  2. In the Project window, expand configuration > config.
  3. Open file database-config.xml.
  4. Remove the <dbcp-connection-pool> element.
  5. 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="jdbc/pcDataSource" />
      ...
    </database>
  6. Close and save the database-config.xml file.
  7. Rebuild and install the PolicyCenter application EAR or WAR file.