Oracle Washer/Dryer D H09993100 用户手册
<timeout>90000</timeout>
<evictInterval>60</evictInterval>
<allowedIdleConnTime>120</allowedIdleConnTime>
<growConnections>false</growConnections>
</connectionPool>
See
for an explanation of these attributes.
A sample
CSS.xml
containing a connection pool definition:
<ldap name="ExampleLDAP">
<trusted>true</trusted>
<url>ldap://myServer:390/dc=example,dc=com</url>
<userDN>cn=Directory Manager</userDN>
<password>{CSS}haGFq18Y1357xXN2b0u+ZQ==</password>
<authType>simple</authType>
<connectionPool>
<maxSize>100</maxSize>
<timeout>90000</timeout>
<evictInterval>60</evictInterval>
<allowedIdleConnTime>120</allowedIdleConnTime>
<growConnections>false</growConnections>
</connectionPool>
<user>
<url>ou=People</url>
</user>
<group>
<url>ou=Groups</url>
</group>
</ldap>
Table 8
Connection Pool Attributes
Element
Attribute
Description
<connectionPool>
Connection pool definition
<maxSize>
Maximum number of connections in the pool. Default is
100 for LDAP-enabled directories, including MSAD, and
300 for Native Directory.
100 for LDAP-enabled directories, including MSAD, and
300 for Native Directory.
<timeout>
Timeout (in milliseconds) to get the connection from the
pool. An exception is thrown after this period. Default is
300000 milliseconds (5 minutes).
pool. An exception is thrown after this period. Default is
300000 milliseconds (5 minutes).
<evictInterval>
Optional: The interval (in minutes) for running the eviction
process to clean up the pool. The eviction process cleans
up idle connections that have exceeded the
process to clean up the pool. The eviction process cleans
up idle connections that have exceeded the
allowedIdleConnTime
. Default is 60 minutes.
<allowedIdleConnTime>
Optional: The time (in minutes) after which idle
connections in the pool are cleaned up by the eviction
process. Default is 120 minutes.
connections in the pool are cleaned up by the eviction
process. Default is 120 minutes.
<growConnections>
This option indicates whether the connection pool can
grow beyond
grow beyond
<maxSize>
. Default is
false
. If you do not
allow the connection pool to grow, the system throws an
error if a connection is not available within the time set for
error if a connection is not available within the time set for
<timeout>
.
60
Configuring User Directories