Technical data
WebLogic Server Connection Pools Administration Command Reference
Administration Guide B-29
CREATE_POOL
Allows creation of connection pool while WebLogic Server is running. For more information,
see “
Creating a Connection Pool Dynamically” in Programming WebLogic JDBC at
http://e-docs.bea.com/wls/docs61/jdbc/programming.html#programmin
g004.
Syntax
java weblogic.Admin [Connection and User Credentials Arguments]
CREATE_POOL poolName aclName=aclX,
props=myProps,initialCapacity=1,maxCapacity=1,
capacityIncrement=1,allowShrinking=true,shrinkPeriodMins=15,
driver=myDriver,url=myURL
Argument Definition
poolName
Required. Unique name of pool.
aclName
Required. Identifies the different access lists within
fileRealm.properties in the server config directory.
Paired name must be dynaPool.
props
Database connection properties; typically in the format
“database login name; database password; server network id”.
initialCapacity
Initial number of connections in a pool. If this property is
defined and a positive number > 0, WebLogic Server creates
these connections at boot time. Default is 1; cannot exceed
maxCapacity.
maxCapacity
Maximum number of connections allowed in the pool. Default
is 1; if defined, maxCapacity should be =>1.
capacityIncrement
Number of connections that can be added at one time. Default
= 1.
allowShrinking
Indicates whether or not the pool can shrink when connections
are detected to not be in use.
Default = true.
shrinkPeriodMins
Required. Interval between shrinking. Units in minutes.
Minimum = 1.If
allowShrinking = True, then default =
15 minutes.