3. The following is intended to outline our general product direction. It is intended
for information purposes only, and may not be incorporated into any contract.
It is not a commitment to deliver any material, code, or functionality, and should
not be relied upon in making purchasing decisions. The development, release,
and timing of any features or functionality described for Oracle s products
remains at the sole discretion of Oracle.
4. Who is this guy?
• Frank Munz
• Founded munz & more in 2007
• 12+ years WebLogic Server and
Oracle Fusion Middleware
• Consulting and High-End Training
• NEW book:
“WebLogic 12c: Advanced Recipes”
5. WebLogic 12c: JMX For DevOps
• Download NetBeans projects and
additional links at the end
• “JMX for DevOps” ?
Frank Munz / www.munzandmore.com / Oracle DevCast
Slide #5
18. WebLogic 12c Admin Console
• Comfortable and feature-rich graphical JMX
client
• All changes from console are done via JMX
• Sometimes scripting is preferred
-> WLST scripts can be recorded
Frank Munz / www.munzandmore.com / Oracle DevCast
Slide #18
20. WebLogic Scripting Tool (WLST)
• Efficient and versatile. It can replace:
- Configuration wizard
- Template builder
- Command line deployment:
weblogic.Deployer
- Admin console
• Online / offline mode
Frank Munz / www.munzandmore.com / Oracle DevCast
Slide #20
21. WLST
MW_HOME/wlserver_12.1/common/bin
contains start script for WLST: wlst.sh
Or run command-line with WL_HOME set and
weblogic.jar in classpath:
java weblogic.WLST [Script.py]
Frank Munz / www.munzandmore.com / Oracle DevCast
Slide #21
23. WLST Quick Reference
ls()
cd()
ls('a')
shows
aIributes
,
'c'
child
MBeans,
'o'
operaCons
navigaCon
domainConfig()
serverConfig()
domainRuntime()
serverRuntime()
change
to
domain
configuraCon
tree
change
to
server
config
MBeans
change
to
domain
runCme
tree
change
to
server
runCme
MBeans
change
to
custom
tree
change
to
JNDI
tree
custom()
jndi()
edit()
startEdit()
save()
activate() / undo()
change
to
writable
edit
tree
start
an
edit
session,
then
use
set('aIribute','value')
persist
changes
acCvate
/
undo
changes
configToScript()
find()
easeSyntax()
export
domain
configuraCon
to
WLST
script
find
aIributes
switch
off
python
syntax
(do
not
use
for
scripCng!)
24. WebLogic 12c
RESTful Management Service
• Enable from admin console
• Retrieves cluster, server, deployment and
JDBC
http://host:port/management/tenantmonitoring/servers?format=full
• Built-in AJAX client for testing:
http://host:port/management/ajaxtest.html
Frank Munz / www.munzandmore.com / Oracle DevCast
Slide #24