previous      content      next
Profiling remote J2EE applications

The following describes profiling of a J2EE server running on a remote machine (i.e. the server and the profiler UI run on different machines).

Read about profiling a local J2EE server (i.e. running on the same machine where you run the profiler UI) here.

If you have only a console access (e.g. via telnet, ssh etc.) to the machine where the J2EE server to be profiled is hosted, use the console version of the J2EE integration wizard. The wizard automatically enables profiling in a number of popular application servers, generating appropriate startup scripts.

  • Download Linux ZIP archive distribution bundle. The Linux ZIP archive is actually a multi-platform bundle containing all necessary files for each supported platform, thus do not hesitate using it on Solaris, Windows and Mac OS X.
  • Copy the ZIP file to the remote machine and unpack to arbitrary directory. License key is NOT required to run the console version of the integration wizard. Just copy the ZIP and unpack it.
  • Run this command and follow instructions that appear:
    java -jar <directory with unpacked content>/lib/yjp.jar -integrate

    You need Java 5 or newer to run the command (although the server you integrate with can run on an older Java version)

Note: the integration wizard generates output files (copies of configuration files, additional startup scripts) in directories where original files locate. Please ensure that you run the command with sufficient access rights.

Also see J2EE high-level profiling

previous      content      next