SlideShare una empresa de Scribd logo
1 de 22
Troubleshooting Oracle WebLogic
with JRockit Mission Control

                  MIKE CROFT
            MANAGED SERVICES




                         © C2B2 Consulting Limited 2012
                                    All Rights Reserved
Agenda


•   JRockit JDK tools
•   Mission Control
•   Identifying Problems in Applications
•   Summary




                                           © C2B2 Consulting Limited 2012
                                                      All Rights Reserved
Agenda


•   JRockit JDK tools
•   Mission Control
•   Identifying Problems in Applications
•   Summary




                                           © C2B2 Consulting Limited 2012
                                                      All Rights Reserved
JRockit JDK Tools


• What utilities are included in JRockit’s JDK?
• Is this any different to the HotSpot JDK?




                                        © C2B2 Consulting Limited 2012
                                                   All Rights Reserved
Agenda


•   JRockit JDK tools
•   Mission Control
•   Identifying Problems in Applications
•   Summary




                                           © C2B2 Consulting Limited 2012
                                                      All Rights Reserved
Mission Control


Console
• Live JVM statistics
• Basic JMX interaction with Mbeans
• Runtime data
• Profiling




                                      © C2B2 Consulting Limited 2012
                                                 All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control


Memory Leak Detector
• Shows overall trend
• Visual representation of hot objects in the
  heap
  o By type
  o By instance
• Shows where objects are allocated

                                       © C2B2 Consulting Limited 2012
                                                  All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control




                  © C2B2 Consulting Limited 2012
                             All Rights Reserved
Mission Control


Flight Recorder
• Formerly JRA recorder
• Provides similar data to the Console view
• Historical data




                                      © C2B2 Consulting Limited 2012
                                                 All Rights Reserved
Agenda


•   JRockit JDK tools
•   Mission Control
•   Identifying Problems in Applications
•   Summary




                                           © C2B2 Consulting Limited 2012
                                                      All Rights Reserved
Identifying Problems in Applications


• Detect Memory Leaks
• Diagnose Poor Performance
• Identify Hot Code

• Demo!




                                 © C2B2 Consulting Limited 2012
                                            All Rights Reserved
Summary


• Mission Control is incredibly versatile
• Move to the latest JRockit; R28
• See our blog:
  – blog.c2b2.co.uk


Thanks for listening!

                                        © C2B2 Consulting Limited 2012
                                                   All Rights Reserved

Más contenido relacionado

Destacado

Advanced Oracle Troubleshooting
Advanced Oracle TroubleshootingAdvanced Oracle Troubleshooting
Advanced Oracle TroubleshootingHector Martinez
 
Linux troubleshooting tips
Linux troubleshooting tipsLinux troubleshooting tips
Linux troubleshooting tipsBert Van Vreckem
 
unix training | unix training videos | unix course unix online training
unix training |  unix training videos |  unix course  unix online training unix training |  unix training videos |  unix course  unix online training
unix training | unix training videos | unix course unix online training Nancy Thomas
 
Process monitoring in UNIX shell scripting
Process monitoring in UNIX shell scriptingProcess monitoring in UNIX shell scripting
Process monitoring in UNIX shell scriptingDan Morrill
 
25 Apache Performance Tips
25 Apache Performance Tips25 Apache Performance Tips
25 Apache Performance TipsMonitis_Inc
 
Fusion Middleware 11g How To Part 2
Fusion Middleware 11g How To Part 2Fusion Middleware 11g How To Part 2
Fusion Middleware 11g How To Part 2Dirk Nachbar
 
Sql server troubleshooting
Sql server troubleshootingSql server troubleshooting
Sql server troubleshootingNathan Winters
 
Linux monitoring and Troubleshooting for DBA's
Linux monitoring and Troubleshooting for DBA'sLinux monitoring and Troubleshooting for DBA's
Linux monitoring and Troubleshooting for DBA'sMydbops
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksScott Jenner
 
Oracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention TroubleshootingOracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention TroubleshootingTanel Poder
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scriptingVIKAS TIWARI
 
Advanced Bash Scripting Guide 2002
Advanced Bash Scripting Guide 2002Advanced Bash Scripting Guide 2002
Advanced Bash Scripting Guide 2002duquoi
 
Mastering unix
Mastering unixMastering unix
Mastering unixRaghu nath
 

Destacado (16)

APACHE
APACHEAPACHE
APACHE
 
Advanced Oracle Troubleshooting
Advanced Oracle TroubleshootingAdvanced Oracle Troubleshooting
Advanced Oracle Troubleshooting
 
Linux troubleshooting tips
Linux troubleshooting tipsLinux troubleshooting tips
Linux troubleshooting tips
 
unix training | unix training videos | unix course unix online training
unix training |  unix training videos |  unix course  unix online training unix training |  unix training videos |  unix course  unix online training
unix training | unix training videos | unix course unix online training
 
Process monitoring in UNIX shell scripting
Process monitoring in UNIX shell scriptingProcess monitoring in UNIX shell scripting
Process monitoring in UNIX shell scripting
 
25 Apache Performance Tips
25 Apache Performance Tips25 Apache Performance Tips
25 Apache Performance Tips
 
Fusion Middleware 11g How To Part 2
Fusion Middleware 11g How To Part 2Fusion Middleware 11g How To Part 2
Fusion Middleware 11g How To Part 2
 
Sql server troubleshooting
Sql server troubleshootingSql server troubleshooting
Sql server troubleshooting
 
Tomcat next
Tomcat nextTomcat next
Tomcat next
 
Tomcat
TomcatTomcat
Tomcat
 
Linux monitoring and Troubleshooting for DBA's
Linux monitoring and Troubleshooting for DBA'sLinux monitoring and Troubleshooting for DBA's
Linux monitoring and Troubleshooting for DBA's
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
 
Oracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention TroubleshootingOracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention Troubleshooting
 
Bash shell scripting
Bash shell scriptingBash shell scripting
Bash shell scripting
 
Advanced Bash Scripting Guide 2002
Advanced Bash Scripting Guide 2002Advanced Bash Scripting Guide 2002
Advanced Bash Scripting Guide 2002
 
Mastering unix
Mastering unixMastering unix
Mastering unix
 

Más de C2B2 Consulting

Monitoring Oracle SOA Suite - UKOUG Tech15 2015
Monitoring Oracle SOA Suite - UKOUG Tech15 2015Monitoring Oracle SOA Suite - UKOUG Tech15 2015
Monitoring Oracle SOA Suite - UKOUG Tech15 2015C2B2 Consulting
 
Hands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx PolandHands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx PolandC2B2 Consulting
 
Monitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteMonitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteC2B2 Consulting
 
Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid C2B2 Consulting
 
Building WebLogic Domains With WLST
Building WebLogic Domains With WLSTBuilding WebLogic Domains With WLST
Building WebLogic Domains With WLSTC2B2 Consulting
 
Hands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performanceHands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performanceC2B2 Consulting
 
Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!C2B2 Consulting
 
JBoss Clustering on OpenShift
JBoss Clustering on OpenShiftJBoss Clustering on OpenShift
JBoss Clustering on OpenShiftC2B2 Consulting
 
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...C2B2 Consulting
 
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at ScaleOracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at ScaleC2B2 Consulting
 
Java Middleware Surgery
Java Middleware Surgery Java Middleware Surgery
Java Middleware Surgery C2B2 Consulting
 
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...C2B2 Consulting
 
'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker' 'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker' C2B2 Consulting
 
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit' 'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit' C2B2 Consulting
 
'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel Deakin'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel DeakinC2B2 Consulting
 
Coherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webCoherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webC2B2 Consulting
 
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at ScaleJUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at ScaleC2B2 Consulting
 

Más de C2B2 Consulting (20)

Monitoring Oracle SOA Suite - UKOUG Tech15 2015
Monitoring Oracle SOA Suite - UKOUG Tech15 2015Monitoring Oracle SOA Suite - UKOUG Tech15 2015
Monitoring Oracle SOA Suite - UKOUG Tech15 2015
 
Hands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx PolandHands-on Performance Tuning Lab - Devoxx Poland
Hands-on Performance Tuning Lab - Devoxx Poland
 
Monitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteMonitoring Oracle SOA Suite
Monitoring Oracle SOA Suite
 
Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid
 
Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
 
Building WebLogic Domains With WLST
Building WebLogic Domains With WLSTBuilding WebLogic Domains With WLST
Building WebLogic Domains With WLST
 
Hands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performanceHands-on Performance Workshop - The science of performance
Hands-on Performance Workshop - The science of performance
 
Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!Jsr107 come, code, cache, compute!
Jsr107 come, code, cache, compute!
 
JBoss Clustering on OpenShift
JBoss Clustering on OpenShiftJBoss Clustering on OpenShift
JBoss Clustering on OpenShift
 
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
Dr. Low Latency or: How I Learned to Stop Worrying about Pauses and Love the ...
 
Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
 
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at ScaleOracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
Oracle Coherence & WebLogic 12c Web Sockets: Delivering Real Time Push at Scale
 
Java Middleware Surgery
Java Middleware Surgery Java Middleware Surgery
Java Middleware Surgery
 
Jax London 2013
Jax London 2013Jax London 2013
Jax London 2013
 
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
 
'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker' 'Deploying with GlassFish & Docker'
'Deploying with GlassFish & Docker'
 
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit' 'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
'JMS @ Data Grid? Hacking the Glassfish messaging for fun & profit'
 
'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel Deakin'New JMS features in GlassFish 4.0' by Nigel Deakin
'New JMS features in GlassFish 4.0' by Nigel Deakin
 
Coherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-webCoherence sig-nfr-web-tier-scaling-using-coherence-web
Coherence sig-nfr-web-tier-scaling-using-coherence-web
 
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at ScaleJUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
 

Troubleshooting of Oracle WebLogic with JRockit Mission Control

  • 1. Troubleshooting Oracle WebLogic with JRockit Mission Control MIKE CROFT MANAGED SERVICES © C2B2 Consulting Limited 2012 All Rights Reserved
  • 2. Agenda • JRockit JDK tools • Mission Control • Identifying Problems in Applications • Summary © C2B2 Consulting Limited 2012 All Rights Reserved
  • 3. Agenda • JRockit JDK tools • Mission Control • Identifying Problems in Applications • Summary © C2B2 Consulting Limited 2012 All Rights Reserved
  • 4. JRockit JDK Tools • What utilities are included in JRockit’s JDK? • Is this any different to the HotSpot JDK? © C2B2 Consulting Limited 2012 All Rights Reserved
  • 5. Agenda • JRockit JDK tools • Mission Control • Identifying Problems in Applications • Summary © C2B2 Consulting Limited 2012 All Rights Reserved
  • 6. Mission Control Console • Live JVM statistics • Basic JMX interaction with Mbeans • Runtime data • Profiling © C2B2 Consulting Limited 2012 All Rights Reserved
  • 7. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 8. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 9. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 10. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 11. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 12. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 13. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 14. Mission Control Memory Leak Detector • Shows overall trend • Visual representation of hot objects in the heap o By type o By instance • Shows where objects are allocated © C2B2 Consulting Limited 2012 All Rights Reserved
  • 15. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 16. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 17. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 18. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
  • 19. Mission Control Flight Recorder • Formerly JRA recorder • Provides similar data to the Console view • Historical data © C2B2 Consulting Limited 2012 All Rights Reserved
  • 20. Agenda • JRockit JDK tools • Mission Control • Identifying Problems in Applications • Summary © C2B2 Consulting Limited 2012 All Rights Reserved
  • 21. Identifying Problems in Applications • Detect Memory Leaks • Diagnose Poor Performance • Identify Hot Code • Demo! © C2B2 Consulting Limited 2012 All Rights Reserved
  • 22. Summary • Mission Control is incredibly versatile • Move to the latest JRockit; R28 • See our blog: – blog.c2b2.co.uk Thanks for listening! © C2B2 Consulting Limited 2012 All Rights Reserved

Notas del editor

  1. Hi, welcome to this webinar on Mission Control and Weblogic.My aim today is to introduce a little about JRockit’s Mission Control tool and give an overview of how it can be used to troubleshoot common problems with applications on Weblogic.*click*
  2. I’ll talk first about other tools that come with JRockit and how they also relate to troubleshooting, then give an outline of the Mission Control tool itself.Once we’re familiar with some of the features available, I’ve listed four related, but distinct, scenarios that Mission Control can help with.I’ll be focussing today on general performance problems and memory issues.To kick us off, though *click*, let’s look at the extra tools that come with JRockit.
  3. What utilities are included in JRockit’s JDK?Mission Control!JRCMDCommand-line utility to execute commands against the JRockit JVMJstatLive GC data via the consoleOthers (jps, jhat)Is this any different to the HotSpot JDK?Yes!No JVisualVM – most functionality available in in Mission Control anywayBeware of licensing costs to use Mission Control!
  4. Mission Control provides several core functions; the console, flight recorder and “Memleak” which, as the name suggests, helps get to the bottom of memory leaks!Live JVM statisticsGraphs and metrics about local or remote systemsBasic JMX interaction with MbeansThis is rudimentary in comparison to dedicated monitoring tools, but can be useful when you’re just trying to diagnose a problem and might want to capture an intermittent problem.Runtime data The available runtime data is mostly a more in-depth look at live metrics, like memory, CPU and stack trace on specific threadsProfile methods or exceptions and execute commands
  5. Shows overall trendThe growth rate of each type (class) is shown, rather than just the percentage of the heap they take up.Stops common classes from showing at the top (like char[] arrays)Visual representation of hot objects in the heap By typeCan see how each class is referenced by other classesBy instanceCan also see how each instance of each class is referenced, meaning you can include only those instances from your application, rather than those instances used by the systemShows where objects are allocatedIn other words, you can see the stack trace for each method holding an instance of the type and what percentage of instances are held by each method.
  6. Flight RecorderFormerly JRA recorderThe tool was originally“JRockit Runtime Analyzer”, but since more features have been added, Oracle have rebranded to reflect the upgradesProvides similar data to the Console viewBut with a crucial exception….*click*Historical dataPost-incident investigationReview any periods of poor performance