Technical data

B WebLogic Server Command-Line Interface Reference
B-30 Administration Guide
Example
In the following example, a user with the name adminuser and the password
gumby1234 runs the CREATE_POOL command to create a dynamic connection pool:
java weblogic.Admin -url localhost:7001 -username adminuser
-password gumby1234 CREATE_POOL myPool
java weblogic.Admin -url t3://forest:7901 -username system
-password gumby1234 CREATE_POOL dynapool6 "aclName=someAcl,
allowShrinking=true,shrinkPeriodMins=10,
url=jdbc:weblogic:oracle,driver=weblogic.jdbc.oci.Driver,
driver
Required. Name of JDBC driver. Only local (non-XA) drivers
can participate.
url
Required. URL of the JDBC driver.
testConnsOnReserve
Indicates reserved test connections. Default = False.
testConnsOnRelease
Indicates test connections when they are released. Default =
False.
testTableName
Database table used when testing connections; must be present
for tests to succeed. Required if either testConnOnReserve or
testConOnRelease are defined.
refreshPeriod
Sets the connection refresh interval. Every unused connection
will be tested using TestTableName. Connections that do not
pass the test will be closed and reopened in an attempt to
reestablish a valid physical database connection. If
TestTableName is not set then the test will not be performed.
loginDelaySecs
The number of seconds to delay before creating each physical
database connection. This delay takes place both during initial
pool creation and during the lifetime of the pool whenever a
physical database connection is created. Some database servers
cannot handle multiple requests for connections in rapid
succession. This property allows you to build in a small delay
to let the database server catch up. This delay takes place both
during initial pool creation and during the lifetime of the pool
whenever a physical database connection is created.
Argument Definition