2.4.1 Command-line Method
To reset a connection pool, use the WebLogic Scripting Tool (WLST). The following is a sample WLST code and instructions. The connection pool name must be JoltConnectionPool-0
.
Compose a file named
reset-joltpool.py
with the following:connect('username','PassID12','t3 ://10.10.1.1:2345'); # replace the values according to your environment.
domainRuntime();
cd('ServerRuntimes/myserver/JoltRuntime/JoltService/ConnectionPools/JoltConnectionPool-0');
cmo.resetConnectionPool();
exit()
Then, run the following commands to reset the Jolt connection pool:$WL_HOME/wlserver/server/bin/setWLSEnv.sh
java weblogic.WLST <reset-joltpool.py
Parent topic: Resetting the Jolt Connection Pool