This guide contains the following information:
If you want to make a change to the configuration file that was generated in step 5, the file can be manually edited using the rules outlined in the document Agent Controller configuration files. The server must be restarted to load changes.
To display the version of Agent Controller, simply type:
RAServer -v
or
RAServer -version
The Agent Controller will display its version and terminate.
The Java Profiler is a library that attaches to a JVM to capture and record the Java application's behavior. The output from the profiling agent is in the form of XML fragments.
Documentation on the composition of these XML fragments is located at: http://www.eclipse.org/tptp/platform/documents/resources/profilingspec/XML4Profiling.htm
The Java Profiler can be launched from the Eclipse Tools Platform workbench. From the Profiling and Logging Perspective of Eclipse workbench you
can launch applications using the Run > Profile menu contribution or the toolbar button. Applications in the current Eclipse workbench's
workspace or external Java applications located in the file system can be launched and profiled.
Note that the first step in Configuring and starting Agent Controller is required for invoking the Java Profiler from the command line. The Java Profiler is invoked from a command line using the -Xrun JVM option as follows:
-XrunpiAgent[:agent_parm[,agent_parm]*where agent_parm may be:
<agent_controller_home>\plugins\org.eclipse.tptp.platform.collection.framework_4.0.0\config\pluginconfig.xmlThe following modification is required:
<Agent client="DYNAMIC" configuration="default" dataChannelSize="64M" name="Java Profiling Agent" type="Profiler"/>should be modified to
<Agent client="HEADLESS" configuration="default" dataChannelSize="64M" name="Java Profiling Agent" type="Profiler" logFile="C:\profile.trcxml"/>Note that the Agent client attribute has been changed to "HEADLESS" and that the "logFile" attribute has been added.
java -XrunpiAgent:server=applicationControlled -classpath "C:\AgentController\lib\hcframe.jar";. TestClass
classpattern methodpattern mode , where:
To uninstall the agent controller: