Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Understanding runtime analysis

Application tuning with IBM Rational Application Developer

AnnMarie Stenglein, Testing Specialist, IBM
AnnMarie Stenglein is a Testing Specialist in the Automated Software Quality Technical Marketing Group, working with the developer tools IBM Rational PurifyPlus (IBM Rational Purify, IBM Rational Quantify, and IBM Rational PureCoverage) and IBM Rational Application Developer for WebSphere Software testing features. She has worked in the Technical Marketing group since April 2004. Previously, she worked as a Field Technical Representative for Rational for three years and IBM for one year, supporting Rational tools in the areas of testing, change management, requirements management, software configuration management, and design. Prior to coming to work for Rational Software in September 2000, AnnMarie developed software for a large imaging company.

Summary:  Runtime analysis is the software development practice targeted at understanding software behavior during runtime, including memory profiling, performance profiling, thread debugging, and code coverage analysis. This tutorial walks you through the steps to configure the environment for runtime analysis of standalone applications. This tutorial also covers the runtime analysis options for identifying Java memory leaks, creating a simple probe and applying it to a Java program, and detecting thread bottlenecks, which are all features that are available in IBM Rational Application Developer for WebSphere Software as well as IBM Rational Software Architect.

Date:  08 Mar 2005
Level:  Introductory PDF:  A4 and Letter (73 KB | 22 pages)Get Adobe® Reader®

Activity:  7648 views
Comments:  

Introduction

What is this tutorial about?

This tutorial takes you through the steps for configuring the environment for runtime analysis of standalone applications. Runtime analysis is the software development practice targeted at understanding software behavior during runtime, including memory profiling, performance profiling, thread debugging, and code coverage analysis. The tutorial also covers the runtime analysis options for identifying JavaTM memory leaks, creating a simple probe and applying it to a Java program, and detecting thread bottlenecks, which are all features that are available in IBM® Rational® Application Developer for WebSphere® Software (IBM Rational Application Developer) as well as IBM Rational Software Architect.


Who should take this tutorial?

This tutorial is written for those new to Rational Application Developer or anyone in a developer role that would like to learn about runtime analysis. Some knowledge of Java programming is required.


Prerequisites

To complete the steps in this tutorial, download the IBM Rational Application Developer for WebSphere Software.

Unzip the resources.zip file to the directory of this tutorial.

Select Rational Application Developer Win-Full. Rational Application Developer v6.0 for Windows FULL includes the IBM WebSphere Portal 5.0 test server and Agent Controller for remote deployment to WebSphere application servers.

For this tutorial, I used a few different sample applications, which you can find in the Resources folder. An explanation of each of the applications is included in Applications used with this tutorial. You will import these resources within their respective sections (Identifying Java memory leaks, Creating a simple probe and applying it to a Java program, and Detecting thread bottlenecks).

To get started on this tutorial, the Windows version of IBM Rational Application Developer (included as part of IBM Software Development Platform) must be installed on your machine. During the installation, select the IBM WebSphere 6.0 test environment option. If you have already installed the IBM Rational Application Developer and did not select this option during installation, you can install this feature with the IBM Software Development Platform installer. You need to install the IBM Rational Agent Controller while performing the installation.

To get the Agent Controller started, search your hard drive for RAService.exe. Once you find it, you can open a DOS prompt and move down the path to the RAService.exe file found in the bin directory. In this directory, you should have a manageservice.exe file as well. At your prompt of the DOS command window, type the command, manageservice add service name unzip directory , where service name is what you would like to call the service and unzip directory is the name of the directory where you would like to install the Agent Controller information. If you run into problems running the manageservice command, see the Running the Server as a Windows Service section in the getting_started.html file that is located at the same level as the bin directory.

To check if the Rational Agent Controller is running, go to your Control Panel and choose Administrative Tools > Services. Look for the name that you just provided when running the manageservice add command.

1 of 8 | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=134096
TutorialTitle=Understanding runtime analysis
publish-date=03082005
author1-email=
author1-email-cc=