Attach Profiler: Attach Settings Dialog Box

See Also

The Attach Settings dialog box enables you to configure and review the settings for attaching the profiling tool to an application. To attach the profiler to an application you need to specify the location of the target JVM and a connection method. The attach settings are specific for each project.

You open this dialog box by choosing Profile > Attach Profiler in the main menu and then clicking define in the Attach Profiler dialog box.

The default setting is to attach to a project running locally using the Dynamic attach method. No additional configuration is required to attach the tool to the application if you select the default attach setting. Specifying other attach settings might require you to modify the startup scripts for the application or server or perform additional configuration steps.

In this dialog box you must perform the following steps to attach the profiling tool to an application.

  1. Select Local or Remote as the target JVM.
  2. Select a connection method and perform the configuration steps displayed in the dialog box. Click OK.

In this dialog box you can select the following attach setting options.

Using the Remote Profiling Pack

To attach the profiling tool to an application that is running on a remote JVM you need to configure the remote JVM to start up using a remote profiling pack. The remote profiling pack is a collection of libraries that will enable the profiling tool to attach to the remote JVM.

  1. Select Remote for the target JVM in the Attach Settings dialog box.
  2. Specify the OS and JVM of the target JVM.
  3. Click create a Remote Profiling Pack in the dialog box.
  4. Save the remote profiling pack to your local system.
  5. Expand the zip archive and copy the files to the remote system.
  6. Modify the startup script of the remote system to use the profiling pack.
See Also
Profiling Using Attach Mode
Attaching to a Remote Application

Legal Notices