The <jndi-connection-pool> database configuration
element
The <database> element in file database-config.xml
contains, at most, a single occurrence of subelement
<jndi-connection-pool>. The use of
the <jndi-connection-pool> element is
optional. However, file database-config.xml
must contain this element if you use a JNDI (Java Naming and
Directory Interface) data source managed by a JBoss, WebSphere, WebLogic, or Tomcat
application server.
The <jndi-connection-pool> element has the following syntax. The following code sample shows required attributes in bold font.
<database>
<!-- Sets the data source for a JBoss, WebSphere, WebLogic, or Tomcat application server-->
<jndi-connection-pool datasource-name="string"
connections-initialized-for-application="true|false"/>
</database>
<jndi-connection-pool> element in any way, you must restart the
application server.
The following list describes the attributes that you can configure on the <jndi-connection-pool> element.
|
Required. Specifies the JNDI name to assign to the data source. See Configure PolicyCenter to use a direct JNDI data source for more information. |
The following attribute is optional. |
|
|
(Oracle) Boolean. Controls the number of SQL statements that
PolicyCenter executes on every connection that it borrows from an
external data source. This setting applies to the named JNDI database
connection set up in this Valid values are:
The default is To take advantage of this feature:
See Configuring JNDI connection initialization for Oracle for more information. IMPORTANT If you set this attribute to |
The <jndi-connection-pool> element has no subelements.
See also
