Welcome, guest | Sign In | My Account | Store | Cart

WSCP script to start WebSphere AppServer

Tcl, 28 lines
 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
echo off

:: call tcl script to start WebSphere App Servers

echo ****************************************
echo * start servers on %computername%
echo ****************************************

call wscp -p c:\scripts\websphere\wscp_properties.txt ^
          -f c:\scripts\tcl\startservers.tcl


-----------------------------------------------------------------------

startservers.tcl

# 
# start WebSphere AppServer
#
source c:\\SCRIPTS\\tcl\\showserverstatus.tcl

foreach server [ApplicationServer  list] {

        puts "\n*******start SERVER $server\n"
        catch {ApplicationServer start $server}	
}

showServerStatus

Automate app server startup.

Created by Patrick Finnegan on Tue, 1 Oct 2002 (MIT)
Tcl recipes (162)
Patrick Finnegan's recipes (10)

Required Modules

  • (none specified)

Other Information and Tasks