weblogic – wlst to start oam server


$ ./wlst.sh
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect()
Please enter your username : weblogic
Please enter your password :
Please enter your server URL [t3://localhost:7001] :
Connecting to t3://localhost:7001 with userid system ...
Successfully connected to Admin Server 'myAdmin' that belongs to domain 'mydomain'.
Warning: An insecure protocol was used to connect to the server. To
ensure on-the-wire security, the SSL port or Admin port should be used instead.
wls:/mydomain/serverConfig> cd('Servers')
wls:/mydomain/serverConfig/Servers> ls()
dr--   AdminServer
dr--   oam_server1
dr--   oim_server1
dr--   soa_server1

wls:/mydomain/serverConfig/Servers> cd('oam_server1')
wls:/mydomain/serverConfig/Servers/myserver1> get('StartupMode')
'RUNNING'
wls:/mydomain/serverConfig/Servers/myserver1> exit()
Exiting WebLogic Scripting Tool.
$

Advertisements