Digital Marketing

To Reset (Flush) a Connection Pool in GlassFish Server

To Reset (Flush) a Connection Pool
Use the flush-connection-pool in remote mode to reinitialize all connections established in the specified connection pool. The JDBC connection pool or connector connection pool is reset to its initial state. Any existing live connections are destroyed, which means that the transactions associated with these connections are lost. The subcommand then recreates the initial connections for the pool, and restores the pool to its steady pool size.

Resetting (Flushing) a Connection Pool

This example resets the JDBC connection pool named __i88caPool to its steady pool size.

asadmin> flush-connection-pool __i88caPool   Command flush-connection-pool executed successfully.


Popular posts from this blog

Make online money from the Internet