Configure PolicyCenter to use an indirect JNDI data source
Procedure
- In the PolicyCenter Studio 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="java:comp/env/jdbc/DataSourceName"/> ... </database> - Close and save the database-config.xml file.
- Rebuild and install the PolicyCenter application EAR or WAR file.
