2 Resources Main Resource: Java Mission Control Tutorial by Marcus Hirt includes sample projects! Local copy: /common/fesa/jmcexamples/jmc_tutorial.zip More Resources The Oracle Java Mission Control homepage Java Mission Control articles
3 Java Monitoring Tools /common/fesa/jmcexamples/10_console_loadanddeadlock/target/jnlp/bin/deadlock.sh jconsole monitors CPU usage memory usage number of loaded classes thread count and information displays and allows to change MBeans
4 Java Monitoring Tools jvisualvm modern Netbeans based user interface extensible via plugins GPLv2+CE licensed monitors CPU usage memory usage number of loaded classes threads thread count state (running, sleeping, wait,...) sampling and profiling (CPU and memory usage) can incur a large overhead displays and allows to change Mbeans (via separate plugin)
6 JMC - Java Mission Control 3rd tool after JConsole and JVisualVM previously available only in the commercial JRockit JVM based on Eclipse RCP direct integration into Eclipse IDE possible in principle extensible via plugins out of the box, two major components: MBean Server (JMX Console) online monitoring manages beans Flight Recorder analysis of recorded data (also offline) event based: low overhead / impact on JVM explicit activation necessary licensing not 100% clear!
7 JMC - License As per the Binary Code License, all usage for evaluation and development (on your laptop/workstation) is always royalty free (even if/when you use the commercial features flag). As a developer, you can use JMC and JFR to build, debug and optimize your application without owing Oracle a cent. We only charge for production use so if you build a web app and deploy it to a server and the JVM that runs it has the commercial features flag enabled then you need a Java SE Advanced license for the server. The desktop that runs the JMC GUI never needs a license. Henrik Stahl VP Product Management, Java, Oracle
8 MBean Server Overview /common/fesa/jmcexamples/10_console_loadanddeadlock/target/jnlp/bin/deadlock.sh
9 MBean Server Threads /common/fesa/jmcexamples/10_console_loadanddeadlock/target/jnlp/bin/deadlock.sh
10 MBean Server Triggers /common/fesa/jmcexamples/10_console_loadanddeadlock/target/jnlp/bin/deadlock.sh
11 MBean Server Browser MBeans provide a means to manage your application.
12 JFR Java Flight Recorder The Java Flight Recorder must be explicitly activated on starting the JVM! Maven Netbeans IDE
13 JFR Start Recording recording must be explicitly started specifying recording time recording is automatically stored in a file can be used for later offline analysis data is automatically displayed at end of recording
14 JFR Overview Overview Panels: similar data to MBeans Server CPU usage heap usage JVM information system properties recording properties
15 JFR Overview Zoom into any time interval is possible!
19 JFR Latencies /common/fesa/jmcexamples/03_jfr_latencies/ A symptom of a latency related problem can be lower than expected throughput in your application, without the CPU being saturated. This is usually due to your threads of execution stalling, for example due to bad synchronization behaviour in your application.
20 JFR Latencies Events/Graph: Shows the events emitted by the application
21 JFR Latencies Events/Histogram: Shows the event counts and stack trace
22 JFR Latencies Threads/Latencies: Shows the relative count for thread stall events of different types
23 JFR Latencies Threads/Contention: Contains information about the locks, blocked and blocking threads
24 JFR Latencies Threads/Lock Instances: Contains information about the lock instance events
26 MBeans This lesson introduces the fundamental concept of the JMX API, namely managed beans, or MBeans. An MBean is a managed Java object, similar to a JavaBeans component, that follows the design patterns set forth in the JMX specification. An MBean can represent a device, an application, or any resource that needs to be managed. MBeans expose a management interface that consists of the following: A set of readable or writable attributes, or both. A set of invokable operations. A self-description. The management interface does not change throughout the life of an MBean instance. MBeans can also emit notifications when certain predefined events occur. The JMX specification defines five types of MBean: Standard MBeans Dynamic MBeans Open MBeans Model MBeans MXBeans
An Oracle White Paper September 2013 Advanced Java Diagnostics and Monitoring Without Performance Overhead Introduction... 1 Non-Intrusive Profiling and Diagnostics... 2 JMX Console... 2 Java Flight Recorder...
white paper Sybase Unwired Platform 2.0 Development Paradigm www.sybase.com TABLE OF CONTENTS 1 Sybase Unwired Platform 1 Mobile Application Development 2 Mobile Business Object (MBO) Development 4 Mobile
Chapter 11 of WebSphere Application Server V7 Administration and Configuration Guide, SG24-7615 WebSphere Application Server V7: Monitoring the Runtime Being able to measure and monitor system interactions
Monitoring and Diagnosing Applications with 4.0 Mark W. Johnson IBM Corporation The (Application Response Measurement) standard provides a way to manage business transactions. By embedding simple calls
Integration of DB oriented CAD systems with Product Lifecycle Management Roberto Penas, SENER Ingeniería y Sistemas S.A., Tres Cantos/Spain, email@example.com Carlos González, SENER Ingeniería y Sistemas
MANNING Ken Rimple Srini Penchikala FOREWORD BY BEN ALEX Spring Roo in Action by Ken Rimple, Srini Penchikala Chapter 10 Copyright 2012 Manning Publications brief contents PART 1 STARTING SPRING APPS RAPIDLY
An Oracle White Paper June, 2013 Enterprise Manager 12c Cloud Control Executive Overview... 2 Introduction... 2 Business Application Performance Monitoring... 3 Business Application... 4 User Experience
An Oracle White Paper June 2009 New Features in Oracle Forms Server 11g Oracle White Paper Title of White Paper Here Disclaimer The following is intended to outline our general product direction. It is
Siebel Email Administration Guide Siebel Innovation Pack 2013 Version 8.1/8.2 September 2013 Copyright 2005, 2013 Oracle and/or its affiliates. All rights reserved. This software and related documentation
Module 11 At the end of this module you will be able to: 9 Describe the differences between EJB types 9 Deploy EJBs 9 Define an Enterprise Application 9 Dxplain the directory structure of an Enterprise
Question: 1 Upon monitoring an application it is found that the passivation and activation counters for EJBs are extremely high. What is the BEST change to be made to the server configuration to improve
FileMaker Server 13 FileMaker Server Help 2010-2013 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker,
Institute of Architecture of Application Systems University of Stuttgart Universitätsstraße 38 D-70569 Stuttgart Diplomarbeit Nr. 3317 Extending an Open Source Enterprise Service Bus for Horizontal Scalability
Must License Installation Guide HOPEX V1R2 EN Last updated: February 19, 2015 Created: January 20, 2005 Author: Jérôme HORBER CONTENTS Summary This article describes the technical configurations necessary
Nios II IDE Help System 101 Innovation Drive San Jose, CA 95134 www.altera.com Nios II IDE Version: 9.0 Document Version: 1.7 Document Date: March 2009 UG-N2IDEHELP-1.7 Table Of Contents About This Document...1
Akademia Górniczo-Hutnicza im. Stanisława Staszica w Krakowie Wydział Elektrotechniki, Automatyki, Informatyki i Elektroniki KATEDRA INFORMATYKI PRACA MAGISTERSKA PRZEMYSŁAW DADEL, MARIUSZ BALAWAJDER ANALIZA
Enterprise Application Management with Spring Why Manage Your Applications? Identify and eliminate performance bottlenecks Minimize application downtime Prevent problems before they occur Analyze trends
HP StoreOnce Catalyst and HP Data Protector 7 Implementation and Best Practice Guide Release 1 Executive Summary This guide is intended to enable the reader to understand the basic technology of HP StoreOnce
What s New in Oracle SOA Suite 12c O R A C L E W H I T E P A P E R J U L Y 2 0 1 4 Disclaimer The following is intended to outline our general product direction. It is intended for information purposes
Execute This! Analyzing Unsafe and Malicious Dynamic Code Loading in Android Applications Sebastian Poeplau, Yanick Fratantonio, Antonio Bianchi, Christopher Kruegel, Giovanni Vigna UC Santa Barbara Santa
High Performance Cluster Support for NLB on Window Arvind Rathi,  Kirti,  Neelam M.Tech Student, Department of CSE, GITM, Gurgaon Haryana (India) firstname.lastname@example.org Asst. Professor,