SlideShare a Scribd company logo
WebLogic JMX for DevOps
Oracle WebLogic Devcast
Series: JMX for DevOps
Dr. Frank Munz
Oracle Technologist of the Year, Cloud

ORACLE
PRODUCT
LOGO
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.
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”
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
Agenda
1. Basics
2. Tools / Clients
3. Programming
4. Wrap-up

Frank Munz / www.munzandmore.com / Oracle DevCast

Slide #6
JMX BASICS
JMX
•  Java Management Extensions
(JSR-003)
+ JMX Remote API
(JSR-160)
•  Supported from Java 5
•  JMX 1.2 supported since WLS 9.x
•  WebLogic 12c: RESTful access
Frank Munz / www.munzandmore.com / Oracle DevCast

Slide #8
MBeans
MBeans have attributes, operations, use
notifications
WebLogic MBeans encapsulate
–  Configuration Data
–  Runtime Values
Frank Munz / www.munzandmore.com / Oracle DevCast

Slide #9
MBean Servers
Oracle	
  WebLogic	
  JVM	
  
JMX	
  

JVM	
  Pla<orm	
  MBean	
  Server	
  
Edit	
  MBean	
  Server	
  
RunCme	
  MBean	
  Server	
  

RMI	
  Client	
  JVM	
  

JSR	
  160	
  RMI	
  
Connector	
  

DomainRunCme	
  MBean	
  Server	
  
MBean	
  

hIp	
  

Admin	
  

RESTful	
  
Connector	
  
MBean	
  

MBean	
  

Admin	
  

Frank Munz / www.munzandmore.com / Oracle DevCast
MBean Object Name
domainPart:listOfProperties
com.bea used for
WebLogic MBeans

Name=…,Type=…
[,ParentType1=Parent1Name]
[,ParentType2=Parent2Name] [,…]
[,Location=serverName]

Example: com.bea:Name=AdminServer,Type=Server
Frank Munz / www.munzandmore.com / Oracle DevCast
Admin console, JConsole, WLST, RESTful Management Services, Jolokia.

JMX TOOLS / CLIENTS
WebLogic Admin Console
WebLogic Scripting Tool
WebLogic 12c RESTful Management Services
JConsole
Open Source JMX Shell, RESTful API, Monitoring
Plugins
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
DEMO
Admin Console
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
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
DEMO
WLST
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!)	
  
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
DEMO
RESTful
Management
Service
Jolokia
•  HTTP/JSON bridge for remote JMX access
•  -> Avoids JVM overhead on client side
•  Uses j4p.war or JVM agent on WebLogic
•  Supports many JEE servers
•  j4psh JMX shell with tab-completion and
syntax highlighting
•  Understanding of MBean names required
Frank Munz / www.munzandmore.com / Oracle DevCast
DEMO
Jolokia
Spring / Standard Java EE JMX Development

JMX PROGRAMMING
DEMO
Spring
DEMO
JConsole
DEMO
JMX + Java EE
Conclusion and Links

WRAP-UP
WebLogic 12c Advanced
Recipes
http://www.amazon.com/dp/
0980798019/

Available NOW
Frank Munz / www.munzandmore.com / Oracle DevCast

Slide #33
Links
DevOps
http://radar.oreilly.com/2012/06/what-is-devops.html
Oracle WebLogic 12c JMX Documentation
http://docs.oracle.com/cd/E24329_01/web.1211/e24416/toc.htm
RESTful Management Services
http://www.oracle.com/technetwork/articles/soa/oliveira-wlsrest-javafx-1723982.html
Frank Munz / www.munzandmore.com / Oracle DevCast

Slide #34
Links
Spring Reference, Chapter 22, JMX
http://static.springsource.org/spring/docs/3.0.0.RELEASE/
reference/html/jmx.html#jmx-exporting
Oracle JMX Tutorial
http://docs.oracle.com/javase/tutorial/jmx/mbeans/
standard.html
Oracle MXBeans explained:
http://docs.oracle.com/javase/6/docs/api/javax/management/
MXBean.html
Frank Munz / www.munzandmore.com / Oracle DevCast

Slide #35
Links
Jolokia Web Site:
http://jolokia.org
munz & more
http://www.munzandmore.com/blog
http://www.munzandmore.com/newsletter

Frank Munz / www.munzandmore.com / Oracle DevCast

Slide #36
Let’s connect

Frank Munz / www.munzandmore.com / Oracle DevCast
Join the WebLogic Community
Twitter
twitter.com/oracleweblogic
Facebook
facebook.com/oracleweblogic
Oracle’s WebLogic blog
blogs.oracle.com/weblogicserver
Youtube
Youtube.com/oracleweblogic
Oracle.com/technetwork/weblogic
	
  
WebLogic JMX for DevOps
WebLogic JMX for DevOps

More Related Content

What's hot (20)

PPT
Weblogic configuration & administration
Muhammad Mansoor
 
PDF
Weblogic server administration
bispsolutions
 
PPTX
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
Roman Kharkovski
 
PDF
Learn Oracle WebLogic Server 12c Administration
Revelation Technologies
 
PDF
Oracle WebLogic Server: Remote Monitoring and Management
Revelation Technologies
 
PDF
Oracle Fuson Middleware Diagnostics, Performance and Troubleshoot
Michel Schildmeijer
 
PDF
WebLogic for DBAs
Simon Haslam
 
PPTX
Weblogic application server
Anuj Tomar
 
PDF
JBoss EAP / WildFly, State of the Union
Dimitris Andreadis
 
PPT
WLS
Bebo Yu
 
PDF
Changes in WebLogic 12.1.3 Every Administrator Must Know
Bruno Borges
 
PDF
Datasheet weblogic midvisionextensionforibmraf
MidVision
 
PPT
WebLogic Deployment Plan Example
James Bayer
 
PPTX
Building WebLogic Domains With WLST
C2B2 Consulting
 
PDF
WebLogic in Practice: SSL Configuration
Simon Haslam
 
PDF
AAI-1305 Choosing WebSphere Liberty for Java EE Deployments
WASdev Community
 
PDF
Keynote Oracle Fusion Middleware Summit_2020
Michel Schildmeijer
 
PDF
Oracle Weblogic Server 11g: System Administration I
Sachin Kumar
 
PDF
Oracle WebLogic 12c New Multitenancy features
Michel Schildmeijer
 
PDF
AAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
WASdev Community
 
Weblogic configuration & administration
Muhammad Mansoor
 
Weblogic server administration
bispsolutions
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
Roman Kharkovski
 
Learn Oracle WebLogic Server 12c Administration
Revelation Technologies
 
Oracle WebLogic Server: Remote Monitoring and Management
Revelation Technologies
 
Oracle Fuson Middleware Diagnostics, Performance and Troubleshoot
Michel Schildmeijer
 
WebLogic for DBAs
Simon Haslam
 
Weblogic application server
Anuj Tomar
 
JBoss EAP / WildFly, State of the Union
Dimitris Andreadis
 
WLS
Bebo Yu
 
Changes in WebLogic 12.1.3 Every Administrator Must Know
Bruno Borges
 
Datasheet weblogic midvisionextensionforibmraf
MidVision
 
WebLogic Deployment Plan Example
James Bayer
 
Building WebLogic Domains With WLST
C2B2 Consulting
 
WebLogic in Practice: SSL Configuration
Simon Haslam
 
AAI-1305 Choosing WebSphere Liberty for Java EE Deployments
WASdev Community
 
Keynote Oracle Fusion Middleware Summit_2020
Michel Schildmeijer
 
Oracle Weblogic Server 11g: System Administration I
Sachin Kumar
 
Oracle WebLogic 12c New Multitenancy features
Michel Schildmeijer
 
AAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
WASdev Community
 

Viewers also liked (15)

PDF
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
Frank Munz
 
PDF
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
Frank Munz
 
PPTX
Weblogic Application Server training-course-navi-mumbai-weblogic application ...
VibrantGroup
 
PDF
JBoss AS7 Reloaded
Dimitris Andreadis
 
PPT
J boss
jrfx448
 
PPTX
Creating a Domain with Oracle WebLogic 11g
Luis Carlos Berrocal
 
PPTX
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Frank Munz
 
PDF
Oracle Service Bus (OSB) for the Busy IT Professonial
Frank Munz
 
PDF
Jolokia - JMX on Capsaicin (Devoxx 2011)
roland.huss
 
PDF
Paris Devops - Monitoring And Feature Toggle Pattern With JMX
Cyrille Le Clerc
 
PDF
JBoss Application Server 7
Ray Ploski
 
PDF
WebLogic im Docker Container
Andreas Koop
 
KEY
Administration von ADF Anwendungen
enpit GmbH & Co. KG
 
PDF
Java WebApps und Services on Oracle Java Cloud Service
enpit GmbH & Co. KG
 
PPTX
Slideshare ppt
Mandy Suzanne
 
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
Frank Munz
 
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
Frank Munz
 
Weblogic Application Server training-course-navi-mumbai-weblogic application ...
VibrantGroup
 
JBoss AS7 Reloaded
Dimitris Andreadis
 
J boss
jrfx448
 
Creating a Domain with Oracle WebLogic 11g
Luis Carlos Berrocal
 
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Frank Munz
 
Oracle Service Bus (OSB) for the Busy IT Professonial
Frank Munz
 
Jolokia - JMX on Capsaicin (Devoxx 2011)
roland.huss
 
Paris Devops - Monitoring And Feature Toggle Pattern With JMX
Cyrille Le Clerc
 
JBoss Application Server 7
Ray Ploski
 
WebLogic im Docker Container
Andreas Koop
 
Administration von ADF Anwendungen
enpit GmbH & Co. KG
 
Java WebApps und Services on Oracle Java Cloud Service
enpit GmbH & Co. KG
 
Slideshare ppt
Mandy Suzanne
 
Ad

Similar to WebLogic JMX for DevOps (20)

PDF
12 Things about Oracle WebLogic Server 12c
Guatemala User Group
 
PDF
Changes in weblogic12c_every_administrator_must_know-140812141929
Demodx Demodxz
 
PPT
Oracle Weblogic for EBS and obiee (R12.2)
Berry Clemens
 
PPT
JMX
Haitham Raik
 
PPT
Advanced WebLogic Monitoring: JMX and WLSDM Automation
M. Fevzi Korkutata
 
PPT
Ugf9796 weblogic for ebs and obiee
Berry Clemens
 
PDF
WebLogic 12c & WebLogic Mgmt Pack
DLT Solutions
 
PDF
Weblogic server administration
Amit Sharma
 
PDF
Oracle Weblogic 11g admin guide 2
Ram Kumar
 
PPT
Weblogic Server Overview Weblogic Scripting Tool
Gokhan Fazli Celik
 
PPT
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9
Bhaskar Naik
 
PDF
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
PPTX
Weblogic
sudeeporcl
 
PPTX
Денис Прокопюк: “JMX in Java EE applications”
Anna Shymchenko
 
PPTX
Weblogic 101 for dba
Osama Mustafa
 
PPTX
Through the JMX Window
C2B2 Consulting
 
PDF
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
frankmunz
 
PPTX
WebLogic Developer Experience and Java EE 6
Jeffrey West
 
PPT
WebLogic 12c - OMF Canberra June 2014
Joelith
 
12 Things about Oracle WebLogic Server 12c
Guatemala User Group
 
Changes in weblogic12c_every_administrator_must_know-140812141929
Demodx Demodxz
 
Oracle Weblogic for EBS and obiee (R12.2)
Berry Clemens
 
Advanced WebLogic Monitoring: JMX and WLSDM Automation
M. Fevzi Korkutata
 
Ugf9796 weblogic for ebs and obiee
Berry Clemens
 
WebLogic 12c & WebLogic Mgmt Pack
DLT Solutions
 
Weblogic server administration
Amit Sharma
 
Oracle Weblogic 11g admin guide 2
Ram Kumar
 
Weblogic Server Overview Weblogic Scripting Tool
Gokhan Fazli Celik
 
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9
Bhaskar Naik
 
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
Weblogic
sudeeporcl
 
Денис Прокопюк: “JMX in Java EE applications”
Anna Shymchenko
 
Weblogic 101 for dba
Osama Mustafa
 
Through the JMX Window
C2B2 Consulting
 
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
frankmunz
 
WebLogic Developer Experience and Java EE 6
Jeffrey West
 
WebLogic 12c - OMF Canberra June 2014
Joelith
 
Ad

More from Frank Munz (8)

PPTX
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Frank Munz
 
PDF
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Frank Munz
 
PDF
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...
Frank Munz
 
PDF
Microservices Runtimes
Frank Munz
 
PDF
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
Frank Munz
 
PDF
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
Frank Munz
 
PDF
Docker from A to Z, including Swarm and OCCS
Frank Munz
 
PDF
Serverless / FaaS / Lambda and how it relates to Microservices
Frank Munz
 
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
Frank Munz
 
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Frank Munz
 
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...
Frank Munz
 
Microservices Runtimes
Frank Munz
 
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
Frank Munz
 
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
Frank Munz
 
Docker from A to Z, including Swarm and OCCS
Frank Munz
 
Serverless / FaaS / Lambda and how it relates to Microservices
Frank Munz
 

Recently uploaded (20)

PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 

WebLogic JMX for DevOps

  • 2. Oracle WebLogic Devcast Series: JMX for DevOps Dr. Frank Munz Oracle Technologist of the Year, Cloud ORACLE PRODUCT LOGO
  • 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
  • 6. Agenda 1. Basics 2. Tools / Clients 3. Programming 4. Wrap-up Frank Munz / www.munzandmore.com / Oracle DevCast Slide #6
  • 8. JMX •  Java Management Extensions (JSR-003) + JMX Remote API (JSR-160) •  Supported from Java 5 •  JMX 1.2 supported since WLS 9.x •  WebLogic 12c: RESTful access Frank Munz / www.munzandmore.com / Oracle DevCast Slide #8
  • 9. MBeans MBeans have attributes, operations, use notifications WebLogic MBeans encapsulate –  Configuration Data –  Runtime Values Frank Munz / www.munzandmore.com / Oracle DevCast Slide #9
  • 10. MBean Servers Oracle  WebLogic  JVM   JMX   JVM  Pla<orm  MBean  Server   Edit  MBean  Server   RunCme  MBean  Server   RMI  Client  JVM   JSR  160  RMI   Connector   DomainRunCme  MBean  Server   MBean   hIp   Admin   RESTful   Connector   MBean   MBean   Admin   Frank Munz / www.munzandmore.com / Oracle DevCast
  • 11. MBean Object Name domainPart:listOfProperties com.bea used for WebLogic MBeans Name=…,Type=… [,ParentType1=Parent1Name] [,ParentType2=Parent2Name] [,…] [,Location=serverName] Example: com.bea:Name=AdminServer,Type=Server Frank Munz / www.munzandmore.com / Oracle DevCast
  • 12. Admin console, JConsole, WLST, RESTful Management Services, Jolokia. JMX TOOLS / CLIENTS
  • 15. WebLogic 12c RESTful Management Services
  • 17. Open Source JMX Shell, RESTful API, Monitoring Plugins
  • 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
  • 26. Jolokia •  HTTP/JSON bridge for remote JMX access •  -> Avoids JVM overhead on client side •  Uses j4p.war or JVM agent on WebLogic •  Supports many JEE servers •  j4psh JMX shell with tab-completion and syntax highlighting •  Understanding of MBean names required Frank Munz / www.munzandmore.com / Oracle DevCast
  • 28. Spring / Standard Java EE JMX Development JMX PROGRAMMING
  • 34. Links DevOps http://radar.oreilly.com/2012/06/what-is-devops.html Oracle WebLogic 12c JMX Documentation http://docs.oracle.com/cd/E24329_01/web.1211/e24416/toc.htm RESTful Management Services http://www.oracle.com/technetwork/articles/soa/oliveira-wlsrest-javafx-1723982.html Frank Munz / www.munzandmore.com / Oracle DevCast Slide #34
  • 35. Links Spring Reference, Chapter 22, JMX http://static.springsource.org/spring/docs/3.0.0.RELEASE/ reference/html/jmx.html#jmx-exporting Oracle JMX Tutorial http://docs.oracle.com/javase/tutorial/jmx/mbeans/ standard.html Oracle MXBeans explained: http://docs.oracle.com/javase/6/docs/api/javax/management/ MXBean.html Frank Munz / www.munzandmore.com / Oracle DevCast Slide #35
  • 36. Links Jolokia Web Site: http://jolokia.org munz & more http://www.munzandmore.com/blog http://www.munzandmore.com/newsletter Frank Munz / www.munzandmore.com / Oracle DevCast Slide #36
  • 37. Let’s connect Frank Munz / www.munzandmore.com / Oracle DevCast
  • 38. Join the WebLogic Community Twitter twitter.com/oracleweblogic Facebook facebook.com/oracleweblogic Oracle’s WebLogic blog blogs.oracle.com/weblogicserver Youtube Youtube.com/oracleweblogic Oracle.com/technetwork/weblogic