Skip navigation.
Downloads | Product Documentation | Support

WebLogic Server Command Reference

## RESET_POOL

This command closes and reopens the database connections in a connection pool.

### Syntax

>     java [ SSL Arguments ] weblogic.Admin
>          [-url URL]
>          [ User Credentials Arguments ]
>        RESET_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. 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 as listed in the configuration file (`config.xml`).

### Example

This command closes and reopens database connection in the connection pool named demoPool for the WebLogic Server instance listening on port 7001 of the host AdminHost.

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