Getting Started
This section has some examples on how to start using wlshell with BEA WebLogic Server 10.
The Connectors section has additional
connector specific information. See also the Scripts section for sample scripts.
Starting wlshell
Windows:
cd \wlshell-2.1.0\bin
wlsh
Unix:
cd wlshell-2.1.0/bin
./wlsh.sh
Connecting to a WebLogic Server
connect localhost:7001 weblogic weblogic
Getting Information about Servers in a Domain
cd /Server
dir
cd AdminServer
dir
cd /Server
dir
servers = $LAST
for $s in $servers
cd /Server/$s
get ListenAddress ListenPort
cd /ServerLifeCycleRuntime/$s
get Name State
end
Listing Services in a Domain
cd /JDBCSystemResource
ls
cd /JMSServer
ls
cd /JMSSystemResource
ls
Browsing MBeans
See Explorer section for more details.
Shuting Down a Server
#server name
server=AdminServer
#keys
keys Type Name
#force shutdown
invoke runtime.com.bea:/ServerRuntime/$server/forceShutdown
Disconnecting from a Server