Java Remote Application Profiling

Profiling Remote Application

This tutorial provides instructions on how to profile an application running on remote Linux machine from a local windows machine using AppPerfect Java Profiler. This tutorial assumes you have successfully downloaded and installed AppPerfect Profiler on both local and remote machine with the default options.

This document is divided into following sections

  1. Creating Project
  2. AppPerfect Java Profiler

Within each section, multiple exercises are listed. All exercises assume that on windows machine the AppPerfect Java Profiler is installed at C:\AppPerfect\Profiler and on linux its installed at /opt/AppPerfect/Profiler.

Creating Project
Exercise 1: Launch AppPerfect Java Profiler
  1. Click on Start -> Programs ->AppPerfect Profiler x.x.x -> AppPerfect Java Profiler
  2. On launching AppPerfect Java Profiler a Welcome page will be displayed. Go through the brief description given for product.
    NB: Welcome page is displayed only when Profiler x.x.x is launched and last time no project was opened.
Exercise 2: Creating a Project
  1. Launch the Project Wizard by clicking File ->New... menu option. The New Project wizard will be launched.
  2. Go through the instruction provided on top of the General tab.
  3. Keep the default project name and location for the purpose of this exercise. We don't have to provide "Notification" settings or "Target Application's Machine" settings for this exercise. Click on the Next button.
  4. Provide IP address and Java Profiler product service port 8834 on the remote (linux) machine.
  5. NOTE: The AppPerfect Java Profiler product Service "APPProfiler" must be running on remote (Linux) machine. To start the service, type the following at the terminal:
    $ sh /opt/AppPerfect/Profiler/wrapper/start_service.

  6. We dont have to import any existing project so click Next on Import Tab.
  7. Same with Source Tab. Click on next.
  8. Java Settings, under Remote Java Environment, please provide '/opt/AppPerfect/Profiler/jre' as the Java Home and click Validate Java to ensure the path is correct. Then click Next.
  9. Keep the default settings on Environment Tab. Click Next
  10. In the "Target" tab select "Target Application type" as "Server/ Web Application".
  11. Keep the default URL in the "Starting URL" field i.e., "http://localhost:8384/petstore". Select the "AppServer Settings" tab.
  12. Select the "Specify AppServer Settings" checkbox. Provide remot application server configurations and Click Finish.
  13. After clicking finish, leave the default project preferences and click OK.
AppPerfect Java Profiler

The steps henceforth will be same in case of Server and Local profiling, hence please refer to the "Profiling Server Application" tutorial for further details.

We use cookies for analytics, advertising and to improve our site. By continuing to use our site, you accept to our Privacy policy and allow us to store cookies.