Weblogic Command to Bounce PoolWeblogic Server can be managed remotely via a shell script using the weblogic.Admin Java utility with CONNECT as the argument. This class takes in the security credentials (user name/password) and tries to connect to the weblogic server. If the server is running and the credentials are correct it would echo back the version of the server.<!>

Windows Shell Script

echo off
@rem set environment variable for WebLogic Home
set WL_HOME=f:beaweblogic81
@rem set the environment
call %WL_HOME%serverbinsetWLSEnv.cmd
@rem Run the Administration Command
echo off
java weblogic.Admin -url t3://localhost:7001 -username %1 -password %2 CONNECT

echo off
if errorlevel 1 echo Server is down