SlideShare une entreprise Scribd logo
1  sur  38
 
Troubleshooting and Tuning WebLogic Jeffrey West Sr. Principal Product Manager
Program  Agenda  ,[object Object],[object Object],[object Object],[object Object],[object Object],<Insert Picture Here>
Troubleshooting & Tuning Areas of Focus Where to start? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],My application is fine!  (probably not) I have the best developers! (really? in the whole world?) Well, they’re really good! (how much are you paying them?) Some people start here
The Near-Ideal ‘Performance Funnel’ ,[object Object],[object Object],Machine Database Middleware Application Network Storage Operating System
The ‘Performance Funnel’: Where you start ,[object Object],[object Object],[object Object],[object Object],Machine Database Middleware Application Network Storage Operating System
Steps along the way… ,[object Object],[object Object],Machine Database Middleware Application Network Storage Operating System
Oracle Overall Strategy ,[object Object],[object Object],[object Object],©2011 Oracle Corporation
<Insert Picture Here> Troubleshooting  Tools
Where there’s smoke… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Our Focus Today ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],} JRockit Flight Recorder JRockit Mission Control
<Insert Picture Here> JRockit  JVM
The JRockit JVM ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
<Insert Picture Here> WebLogic  Monitoring & Troubleshooting
Overview of the WebLogic Diagnostics Framework Retrieve Expose Process Capture ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Pull Push Log File Event Collector MBean Property Harvester Code Instrumentor Archiver Watcher JRockit Flight Recorder Buffer Accessor Notifier JRockit  Mission Control
What is the JRockit Flight Recorder? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],New Data Old Data Time
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],JRockit Flight Recorder Use Cases
WebLogic/Flight Recorder Integration Goals and Points Integration Goals Integration Points 1 2 3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WebLogic Diagnostic Events for Flight Recorder Integration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],1
Easy Configuration with WLDF Volume ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],2
WLDF Low Volume Events ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],© 2010 Oracle Corporation  Proprietary and Confidential
WLDF Medium Volume Events ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],© 2010 Oracle Corporation  Proprietary and Confidential
WLDF High Volume Events ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],© 2010 Oracle Corporation  Proprietary and Confidential
Automated Recording Capture ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],3 WLDF Trigger JFR  Buffer Write Capture JFR  in Diag Image
WebLogic Experimental Plug-in for Mission Control 3
WebLogic Experimental Plugin
<Insert Picture Here> WebLogic  Tuning
Areas of Focus ,[object Object],[object Object],[object Object],[object Object],[object Object]
The timeless battle with Garbage Collection ,[object Object],[object Object],[object Object],[object Object]
JVM’s and Machines ,[object Object],[object Object],[object Object],[object Object],[object Object],512MB: Admin 2GB: OS, etc 2GB: MS-1 2GB: MS-3 2GB: MS-2 2GB: OS, etc 2GB: MS-4 2GB: MS-5
Threads / Work Managers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JDBC ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Common Application ‘mistakes’ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
Base Content Slide ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example of Title Extending to Two Lines ,[object Object],[object Object],[object Object],[object Object],[object Object]
Alternate Title with Subhead Arial Size 18 (Gray) ,[object Object],[object Object],[object Object],[object Object],[object Object]

Contenu connexe

Tendances

weblogic perfomence tuning
weblogic perfomence tuningweblogic perfomence tuning
weblogic perfomence tuningprathap kumar
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionJames Bayer
 
weblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server courseweblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server courseNancy Thomas
 
Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application serverAnuj Tomar
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configurationAditya Bhuyan
 
Weblogic server administration
Weblogic server administrationWeblogic server administration
Weblogic server administrationbispsolutions
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration ISachin Kumar
 
Weblogic configuration & administration
Weblogic   configuration & administrationWeblogic   configuration & administration
Weblogic configuration & administrationMuhammad Mansoor
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastRajiv Gupta
 
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12cOracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12cfrankmunz
 
Weblogicserveroverviewtopologyconfigurationadministration
WeblogicserveroverviewtopologyconfigurationadministrationWeblogicserveroverviewtopologyconfigurationadministration
WeblogicserveroverviewtopologyconfigurationadministrationGokhan Fazli Celik
 
WebLogic Administration course outline
WebLogic Administration course outlineWebLogic Administration course outline
WebLogic Administration course outlineVybhava Technologies
 

Tendances (20)

weblogic perfomence tuning
weblogic perfomence tuningweblogic perfomence tuning
weblogic perfomence tuning
 
Introduction to weblogic
Introduction to weblogicIntroduction to weblogic
Introduction to weblogic
 
Weblogic security
Weblogic securityWeblogic security
Weblogic security
 
Weblogic
WeblogicWeblogic
Weblogic
 
WLST
WLSTWLST
WLST
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload Protection
 
weblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server courseweblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server course
 
Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application server
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configuration
 
Weblogic server administration
Weblogic server administrationWeblogic server administration
Weblogic server administration
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration I
 
WLS
WLSWLS
WLS
 
WebLogic FAQs
WebLogic FAQsWebLogic FAQs
WebLogic FAQs
 
Weblogic server cluster
Weblogic server clusterWeblogic server cluster
Weblogic server cluster
 
Weblogic configuration & administration
Weblogic   configuration & administrationWeblogic   configuration & administration
Weblogic configuration & administration
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencast
 
WebLogic for DBAs
WebLogic for DBAsWebLogic for DBAs
WebLogic for DBAs
 
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12cOracle WebLogic: Feature Timeline from WLS9 to WLS 12c
Oracle WebLogic: Feature Timeline from WLS9 to WLS 12c
 
Weblogicserveroverviewtopologyconfigurationadministration
WeblogicserveroverviewtopologyconfigurationadministrationWeblogicserveroverviewtopologyconfigurationadministration
Weblogicserveroverviewtopologyconfigurationadministration
 
WebLogic Administration course outline
WebLogic Administration course outlineWebLogic Administration course outline
WebLogic Administration course outline
 

En vedette

Sun jdk 1.6 gc english version
Sun jdk 1.6 gc english versionSun jdk 1.6 gc english version
Sun jdk 1.6 gc english versionbluedavy lin
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningMichel Schildmeijer
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationRevelation Technologies
 
Tomcat and apache httpd training
Tomcat and apache httpd trainingTomcat and apache httpd training
Tomcat and apache httpd trainingFranck SIMON
 
Fusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone serverFusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone serverK Kumar Guduru
 
Syed Vali Resume
Syed Vali ResumeSyed Vali Resume
Syed Vali ResumeSyed Vali
 
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvl
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvlTroubleshooting Apache CloudStack at #ccceu14 by @jorizvl
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvlJoris van Lieshout
 
WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013Michel Schildmeijer
 
Apache logs monitoring
Apache logs monitoringApache logs monitoring
Apache logs monitoringUmair Amjad
 
WebLogic Filtering ClassLoader and ClassLoader Analysis Tool Demo
WebLogic Filtering ClassLoader and ClassLoader Analysis Tool DemoWebLogic Filtering ClassLoader and ClassLoader Analysis Tool Demo
WebLogic Filtering ClassLoader and ClassLoader Analysis Tool DemoJeffrey West
 
WebLogic in Practice: SSL Configuration
WebLogic in Practice: SSL ConfigurationWebLogic in Practice: SSL Configuration
WebLogic in Practice: SSL ConfigurationSimon Haslam
 
SOA Suite 12c Customer implementation
SOA Suite 12c Customer implementationSOA Suite 12c Customer implementation
SOA Suite 12c Customer implementationMichel Schildmeijer
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache), webhostingguy
 
WebLogic Performance on SOLARIS SPARC Servers
WebLogic Performance on SOLARIS SPARC ServersWebLogic Performance on SOLARIS SPARC Servers
WebLogic Performance on SOLARIS SPARC ServersM. Fevzi Korkutata
 
Weblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuningWeblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuningAditya Bhuyan
 

En vedette (20)

Sun jdk 1.6 gc english version
Sun jdk 1.6 gc english versionSun jdk 1.6 gc english version
Sun jdk 1.6 gc english version
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
 
Tomcat and apache httpd training
Tomcat and apache httpd trainingTomcat and apache httpd training
Tomcat and apache httpd training
 
Fusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone serverFusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone server
 
Syed Vali Resume
Syed Vali ResumeSyed Vali Resume
Syed Vali Resume
 
resume
resumeresume
resume
 
Troubleshooting guide for apache 2.2 service.
Troubleshooting guide for apache 2.2 service.Troubleshooting guide for apache 2.2 service.
Troubleshooting guide for apache 2.2 service.
 
E10132
E10132E10132
E10132
 
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvl
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvlTroubleshooting Apache CloudStack at #ccceu14 by @jorizvl
Troubleshooting Apache CloudStack at #ccceu14 by @jorizvl
 
De Mensajería hacia Logs con Apache Kafka
De Mensajería hacia Logs con Apache KafkaDe Mensajería hacia Logs con Apache Kafka
De Mensajería hacia Logs con Apache Kafka
 
WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013WebLogic on ODA - Oracle Open World 2013
WebLogic on ODA - Oracle Open World 2013
 
ApacheCon-HBase-2016
ApacheCon-HBase-2016ApacheCon-HBase-2016
ApacheCon-HBase-2016
 
Apache logs monitoring
Apache logs monitoringApache logs monitoring
Apache logs monitoring
 
WebLogic Filtering ClassLoader and ClassLoader Analysis Tool Demo
WebLogic Filtering ClassLoader and ClassLoader Analysis Tool DemoWebLogic Filtering ClassLoader and ClassLoader Analysis Tool Demo
WebLogic Filtering ClassLoader and ClassLoader Analysis Tool Demo
 
WebLogic in Practice: SSL Configuration
WebLogic in Practice: SSL ConfigurationWebLogic in Practice: SSL Configuration
WebLogic in Practice: SSL Configuration
 
SOA Suite 12c Customer implementation
SOA Suite 12c Customer implementationSOA Suite 12c Customer implementation
SOA Suite 12c Customer implementation
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache),
 
WebLogic Performance on SOLARIS SPARC Servers
WebLogic Performance on SOLARIS SPARC ServersWebLogic Performance on SOLARIS SPARC Servers
WebLogic Performance on SOLARIS SPARC Servers
 
Weblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuningWeblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuning
 

Similaire à WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, SoapUI, JRockit Flight Recorder and JRockit Mission Control

How's relevant JMeter to me - DevConf (Letterkenny)
How's relevant JMeter to me - DevConf (Letterkenny)How's relevant JMeter to me - DevConf (Letterkenny)
How's relevant JMeter to me - DevConf (Letterkenny)Giulio Vian
 
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DECWEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DECncodeit123
 
ASML_FlightRecorderMeetsJava.pdf
ASML_FlightRecorderMeetsJava.pdfASML_FlightRecorderMeetsJava.pdf
ASML_FlightRecorderMeetsJava.pdfMiro Wengner
 
DDD Framework for Java: JdonFramework
DDD Framework for Java: JdonFrameworkDDD Framework for Java: JdonFramework
DDD Framework for Java: JdonFrameworkbanq jdon
 
DevDays: Profiling With Java Flight Recorder
DevDays: Profiling With Java Flight RecorderDevDays: Profiling With Java Flight Recorder
DevDays: Profiling With Java Flight RecorderMiro Wengner
 
JAVA LOGGING for JAVA APPLICATION PERFORMANCE
JAVA LOGGING for JAVA APPLICATION PERFORMANCEJAVA LOGGING for JAVA APPLICATION PERFORMANCE
JAVA LOGGING for JAVA APPLICATION PERFORMANCERajendra Ladkat
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesChris Bailey
 
Managing Oracle Fusion Middleware
Managing Oracle Fusion MiddlewareManaging Oracle Fusion Middleware
Managing Oracle Fusion MiddlewareFumiko Yamashita
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)Roman Kharkovski
 
Production Time Profiling Out of the Box
Production Time Profiling Out of the BoxProduction Time Profiling Out of the Box
Production Time Profiling Out of the BoxMarcus Hirt
 
Profiling Java inside containers with ContainerJFR | DevNation Tech Talk
Profiling Java inside containers with ContainerJFR | DevNation Tech TalkProfiling Java inside containers with ContainerJFR | DevNation Tech Talk
Profiling Java inside containers with ContainerJFR | DevNation Tech TalkRed Hat Developers
 
20061122 JBoss-World Experiences with JBoss jBPM
20061122 JBoss-World Experiences with JBoss jBPM20061122 JBoss-World Experiences with JBoss jBPM
20061122 JBoss-World Experiences with JBoss jBPMcamunda services GmbH
 
Open Source XMPP for Cloud Services
Open Source XMPP for Cloud ServicesOpen Source XMPP for Cloud Services
Open Source XMPP for Cloud Servicesmattjive
 
Google App Engine for Java v0.0.2
Google App Engine for Java v0.0.2Google App Engine for Java v0.0.2
Google App Engine for Java v0.0.2Matthew McCullough
 
Java one 2010
Java one 2010Java one 2010
Java one 2010scdn
 
Java Performance and Profiling
Java Performance and ProfilingJava Performance and Profiling
Java Performance and ProfilingWSO2
 
OTM Performance Review and Benchmarking
OTM Performance Review and BenchmarkingOTM Performance Review and Benchmarking
OTM Performance Review and BenchmarkingMavenWire
 
Dot Net Application Monitoring
Dot Net Application MonitoringDot Net Application Monitoring
Dot Net Application MonitoringRavi Okade
 

Similaire à WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, SoapUI, JRockit Flight Recorder and JRockit Mission Control (20)

How's relevant JMeter to me - DevConf (Letterkenny)
How's relevant JMeter to me - DevConf (Letterkenny)How's relevant JMeter to me - DevConf (Letterkenny)
How's relevant JMeter to me - DevConf (Letterkenny)
 
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DECWEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
WEBLOGIC ADMINISTRATION 11g NEW BATCH STARTS FROM 16 DEC
 
ASML_FlightRecorderMeetsJava.pdf
ASML_FlightRecorderMeetsJava.pdfASML_FlightRecorderMeetsJava.pdf
ASML_FlightRecorderMeetsJava.pdf
 
DDD Framework for Java: JdonFramework
DDD Framework for Java: JdonFrameworkDDD Framework for Java: JdonFramework
DDD Framework for Java: JdonFramework
 
Resthub
ResthubResthub
Resthub
 
DevDays: Profiling With Java Flight Recorder
DevDays: Profiling With Java Flight RecorderDevDays: Profiling With Java Flight Recorder
DevDays: Profiling With Java Flight Recorder
 
JAVA LOGGING for JAVA APPLICATION PERFORMANCE
JAVA LOGGING for JAVA APPLICATION PERFORMANCEJAVA LOGGING for JAVA APPLICATION PERFORMANCE
JAVA LOGGING for JAVA APPLICATION PERFORMANCE
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination Features
 
Managing Oracle Fusion Middleware
Managing Oracle Fusion MiddlewareManaging Oracle Fusion Middleware
Managing Oracle Fusion Middleware
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
 
Production Time Profiling Out of the Box
Production Time Profiling Out of the BoxProduction Time Profiling Out of the Box
Production Time Profiling Out of the Box
 
Profiling Java inside containers with ContainerJFR | DevNation Tech Talk
Profiling Java inside containers with ContainerJFR | DevNation Tech TalkProfiling Java inside containers with ContainerJFR | DevNation Tech Talk
Profiling Java inside containers with ContainerJFR | DevNation Tech Talk
 
20061122 JBoss-World Experiences with JBoss jBPM
20061122 JBoss-World Experiences with JBoss jBPM20061122 JBoss-World Experiences with JBoss jBPM
20061122 JBoss-World Experiences with JBoss jBPM
 
Open Source XMPP for Cloud Services
Open Source XMPP for Cloud ServicesOpen Source XMPP for Cloud Services
Open Source XMPP for Cloud Services
 
Google App Engine for Java v0.0.2
Google App Engine for Java v0.0.2Google App Engine for Java v0.0.2
Google App Engine for Java v0.0.2
 
Java one 2010
Java one 2010Java one 2010
Java one 2010
 
Tu1 1 5l
Tu1 1 5lTu1 1 5l
Tu1 1 5l
 
Java Performance and Profiling
Java Performance and ProfilingJava Performance and Profiling
Java Performance and Profiling
 
OTM Performance Review and Benchmarking
OTM Performance Review and BenchmarkingOTM Performance Review and Benchmarking
OTM Performance Review and Benchmarking
 
Dot Net Application Monitoring
Dot Net Application MonitoringDot Net Application Monitoring
Dot Net Application Monitoring
 

WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, SoapUI, JRockit Flight Recorder and JRockit Mission Control

Notes de l'éditeur

  1. Hi! This is Jeff West. Thanks for joining us for the fifth installment in our webcast series for developers. Today we will be covering Troubleshooting and Tuning with WebLogic.
  2. Here is the agenda for the session. First, we will cover troubleshooting and tuning in a general sense and then we will focus on JRockit and WebLogic. After the presentation, we will have a demo of load testing with soapUI, monitoring with WebLogic Console and JRockit Mission Control and then diagnostics with JRockit Flight Recorder.
  3. There are many layers of an application stack that can contribute to poor performance, scalability or throughput. You can take a top-down approach starting with your application and moving down the stack, but the best approach is to take a holistic approach and look at multiple levels of the stack at the same time when you are doing testing and troubleshooting. Many of our customers seem to start at the App Server layer because they claim that nothing is wrong with the applications they build. Most code written by all developers throughout the world has bugs and can be performance tuned, and even if you think you have the best developers in the world, chances are there are opportunities to increase performance and scalability in your application code
  4. The Ideal ‘performance funnel’ is one that is not a funnel – it is a pipe. But this is not reality. At every layer of the stack there is a loss of performance and the task of performance tuning is to minimize the impact that each layer has. Applications that are well designed (and built) will typically bottleneck with I/O, and this is really where you want to be. This means that you have minimized the impact of the other layers and gotten to a physical limit, not a logical one.
  5. In most cases, this is where you will start. You will start with an ‘average’ application running on an app server that has no tuning whatsoever. In this case, chances are the application will be the bottleneck, this is not an accusation, this is just how the process works. First you have to make it work and then you make it work faster. Only a very, very mature team of developers will produce an application that doesn’t require much performance tuning.
  6. There are many steps along the way. Once you clear a bottleneck, you’ll find another one. Sometimes, a bottleneck that you thought you cleared will re-emerge or manifest itself in a different way. It is an iterative process, and while you may allocate 2 weeks for performance testing, there’s no guarantee that you’ll get it all done in that timeframe. As a developer participating in performance testing, this should be your expectation and you shouldn’t lose hope.
  7. When you look at Oracle’s overall strategy, you see an attempt to get the best configuration, best performance, out of the box. We want to control the whole stack – not because we want to control the world – but because we want to be able to perform engineering at each level of the stack in order to provide the best performance and user experience possible. Since we own the whole stack, now with SUN hardware, we can engineer systems that would be very difficult, if not impossible to do if we only had influence over the database, application or middleware layer.
  8. Enough marketing-speak. Lets talk about the tools that come with WebLogic for troubleshooting.
  9. There are many tools available for troubleshooting. You can use Windows performance monitor, Unix TOP and other commands, or packaged software. And as you look at the different layers of the stack you will see that there are many levers to pull and variables to consider. When you are trying to find a problem, you start ruling out factors at each layer of the stack. Sometimes, you can narrow it down, sometimes you can’t. In many cases you find that you have to put in a lot of effort to correlate data from different sources in order to get to a root cause. And then you have to do it over again.
  10. What we will be focusing on today is the set of tools that is available with WebLogic in order to troubleshoot and tune. This set includes the Jrockit Flight Recorder and Jrockit Mission Control.
  11. For those of you who are not familiar with it, I want to give a brief introduction of the JRockit JVM.
  12. JRockit is a JVM that was created by Appeal Virtual Machines which was acquired by BEA in 2002. In 2008 it became part of Oracle Fusion Middleware. It is a proprietary JVM that was written specifically for server-side applications. As such, it is written for machines that have a lot of physical memory and for applications that run for a very long time – days, weeks, even years – such as application servers. If you look at the startup time compared with HotSpot, you will find that in some cases JRockit starts up slower, but JRockit trades startup time and memory for improved performance. JRockit does not support JavaWebStart, but does support Swing applications. Since Desktop Swing applications are short-lived, you may find a better experience using HotSpot for these.
  13. Lets get into the weeds a bit with WebLogic
  14. The WebLogic Diagnostic Framework (WLDF) is a monitoring and diagnostic framework that defines and implements a set of services that run within WebLogic Server® processes and participate in the standard server life cycle. Using WLDF, you can create, collect, analyze, archive, and access diagnostic data generated by a running server and the applications deployed within its containers. This data provides insight into the run-time performance of servers and applications and enables you to isolate and diagnose faults when they occur. WLDF includes several components for collecting and analyzing data: The Diagnostic Image Capture creates a diagnostic snapshot from the server that can be used for post-failure analysis. Archive is used to persists data events, log records, and metrics from server instances and applications over time There are point-cut Instrumentations that add diagnostic code to WebLogic Server instances and the applications running on them to execute diagnostic actions at specified locations in the code. The Instrumentation component provides the means for associating a diagnostic  context  with requests so they can be tracked as they flow through the system. Mbean Harvester — Captures metrics from run-time MBeans, including WebLogic Server MBeans and custom MBeans, which can be archived and later accessed for viewing historical data. With watches and Notifications we provide the means for monitoring server and application states and sending notifications based on criteria set in the watches. And finally with Logging services you can manage logs for monitoring server, subsystem, and application events. The WebLogic Server logging services are documented separately from the rest of the WebLogic Diagnostic Framework.
  15. I have mentioned the ‘Flight Recorder’ a couple times, and you may be wondering what that is. The JRockit flight recorder is much like the flight recorder in an airplane that records all of the events that happen in the system. The goal is to be able to use this data in the case of a problem or a crash in order to ‘go back in time’ and see what was happening leading up to the problem. It is always on, and is a circular buffer that only retains a certain amount of data. Even though it is always on, it does not have a significant amount of overhead. It also has built-in integration with JRockit Mission Control and replaces the JRA recording and LAT capabilities. It not only includes data from the JVM, but also from the WebLogic Diagnostic framework and the Fusion Middleware Dynamic Monitoring System which allows you to get events for ADF, Web Center and SOA Suite applications,.
  16. Carges_TBAv1_04.01.05.ppt The flight recorder is intended to be non-intrusive when enabled and to provide diagnostic information in PRODUCTION systems. You can also adjust the level of data that is generated for capture higher, but it will have additional overhead.
  17. We have engineered the integration of WebLogic and the Flight Recorder to be able to: View and correlate WebLogic data and events with JVM events and make problem identification easier. We have instrumented WebLogic to generate Flight Recorder events and have added a custom WebLogic event viewed in JRockit Mission Control We also wanted to make it easy to configure and use. It is available out of the box, and it is easy to adjust the volume of events that is generated. We also wanted to be able to leverage the diagnostics in WebLogic server in order to increase the usefulness of the flight recorder so we have added the ability to dump a Flight Recorder dataset as a result of a watch rule being met using the WLDF framework in WebLogic.
  18. The WLDF FlightRecorder events are automatically throttled when the system is under stress. The algorithm that implements this throttling uses two different measurements, and there are &amp;quot;caps&amp;quot; for each of these criteria, currently at 128 req/sec and 800 events/sec, respectively. When these caps are exceeded, requests are sampled at a rate intended to keep things within those thresholds. So basically, when your system is under load, the FR adjusts in order to reduce the overhead.
  19. It is very easy to configure the WLDF event volume, and I’ll show you how we can do that in our demo. There are 4 levels – Off, Low, Medium and High. We consulted with our developer user groups and support organization to come up with what we feel is a good segmentation of the events. In many cases, customers will enable the WLDF at HIGH in development and LOW or MEDIUM in production and they are comfortable with the small amount of overhead.
  20. Here are some of the events that are generated at a ‘low’ volume. Here you will see that events for EJB invocation JDBC statements Servlet Invocation Web Application Load and Unload Web Services JAXRPC request/response JAXWS request/response In many cases this information is sufficient to identify the area(s) for further investigation.
  21. As you go up to medium, you will see events for EJB home create/remove More detailed JDBC connection information And more detailed Servlet information
  22. With HIGH, you will see even more events such as JDBC transaction information JTA transactions More detailed Servlet information And stack traces and user IDs
  23. We have also integrated JFR with WLDF such that you can capture a FR recording as the result of a watch alert using the WLDF. We also provide integration with the Remote Diagnostics Agent such that our support organization can proactively capture a JFR image.
  24. Currently unsupported, but gives you a preview of whats to come. Filtering of WebLogic specific events in the JRMC. We’ll cover this in the demo, so I won’t spend too much time on it now.
  25. Basically, it gives you a WebLogic tab with WebLogic events organized in a user-friendly way. We’ll see this in the demo.
  26. Lets cover