Skip navigation.
Downloads | Product Documentation | Support

WebLogic Server Command Reference

## ENABLE_POOL

When a pool is enabled, the JDBC connection states for each in-use connection are exactly as they were when the connection pool was disabled; clients can continue JDBC operations exactly where they left off.

### Syntax

>     java weblogic.Admin [-url URL]
>        -username username [-password password]
>        ENABLE_POOL -poolName connection_pool_name

Argument | Definition
--- | ---
-url [`protocol``://`]`listen-address:listen-port` | Optional. Specify the listen address and listen port of a WebLogic Server instance on which the connection pool has been deployed and is disabled. If you specify a secure listen port, you must also specify a secure protocol. If you do not specify a value, the command assumes `t3://localhost:7001`. For more information, refer to the -url entry in Table 1-3 on page 11 and Protocol Support.
`-poolName` | Name of the connection pool.

### Example

In the following command, a connection pool named demoPool is re-enabled after being disabled:

>     java weblogic.Admin -url AdminHost:7001 -username weblogic
>        -password weblogic ENABLE_POOL -poolName demoPool