WSCP script to stop WebSphere AppServer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | echo off
:: call tcl script to stop WebSphere App Servers
echo ****************************************
echo * stop servers
echo ****************************************
call wscp -p c:\scripts\websphere\wscp_properties.txt ^
-f c:\scripts\tcl\stopservers.tcl
---------------------------------------------------------------
stopservers.tcl
#
# stop servers
#
source c:\\SCRIPTS\\tcl\\showserverstatus.tcl
foreach server [ApplicationServer list] {
puts "\n******* stop SERVER $server\n"
catch {ApplicationServer stop $server}
}
showServerStatus
|
Automate WebSphere AppServer shutdown.