Can't profile remote java application using TPTP
I am trying to profile CPU usage using TPTP. The profile application runs on Linux RH AS5. I have installed and configured Agent Controller as described here
I launched a java application using the command
java '-agentlib:JPIBootLoader=JPIAgent:server=standalone,file=log.trcxml;CGProf' MyApp
Monitoring Station is TPTP version of All-in-one 4.6.2. I followed the steps described here
on Eclipse - in "Profile Configuration" I select a new configuration for "Attach to Agent", set the host to my remote Linux machine where MyApp is running, test connection is successful and when I get to Shortcuts I see " Waiting ... " , the background process " Clean up children for host " is running and cannot find anything, which makes the profile impossible.
Any idea?
a source to share
You must run the Agent Controller in a Java application in server mode. Your command is currently running it headless and writing it to a log file. The website linked to you contains a list of various options for the server parameter.
java '-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf' MyApp
a source to share