Wednesday, January 03, 2007

Tomcat and Eclipse Profiler

Given that you downloaded and configured all the necessary stuff

  1. Start RAServer.exe
  2. Add -XrunpiAgent:server=enabled to the Tomcat JAVA_OPTS (the Windows version comes with a nice configuration tool where you can add it on the Java tab)
  3. Start Tomcat
  4. Go to the Profiler Perspective in Eclipse
  5. Select "Profile..."
  6. Use "Attach - Java Process", attach to localhost:10002
  7. Do like described in the Profiling manual

0 Comments:

Post a Comment

<< Home