Configure PolicyCenter to use a direct JNDI data source
Procedure
- Open Guidewire Studio™ for PolicyCenter.
- In the Project window, expand .
- Open file database-config.xml.
-
Remove the
<dbcp-connection-pool>element. -
Add a
<jndi-connection-pool>element and specify the JNDI name you assign to the data source as adatasource-nameattribute.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> - Close and save the database-config.xml file.
- Rebuild and install the PolicyCenter application EAR or WAR file.
