This guide contains the following information:
Note: The path that contains the JVM library libjvm should match the one specified inside Agent Controller's configuration file, config/serviceconfig.xml, under the AgentControllerConfiguration element's jvm attribute. For example, if the configuration file is pointing to the server JVM, then the library path should also point to the location of the server JVM, not the client JVM. Agent Controller will not function properly if the library path and the configuration do not match.
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:
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:
The Java Profiler can be launched from the Eclipse workbench. From the Profiling and Logging Perspective of Eclipse workbench you can launch applications using the Run > Profile menu 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.
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: