|Re: Getting started with demo agent [message #38122 is a reply to message #34294]
||Mon, 31 October 2005 13:41
| Paul Slauenwhite
Registered: July 2009
This sample code was originally written for Hyades v3.2.0 due to a
defect in Hyades v3.1.0. However, the defect has since been fix so with the
appropriate refactoring (see
it should work in later releases of Hyades/TPTP.
When installing the Agent Controller, did you follow all of the steps in
teh Agent Controller's getting_started.html, including adding the Agent
Controller's bin directory to the system's PATH variable? If so and you can
successfully profile a sample application, please post the Agent
Also, consider using the later release of this sample which is in the
source download for the 'Using and Extending the Test and Performance Tools
Platform' EclipseWorld presentation.
"Norbert Ploett" <email@example.com> wrote in message
> Hello folks,
> I am trying to get started with a demo agent and can't quite get things
> running. Here is my setup:
> - Win XP, eclipse 3.1.1, TPTP 4.0.0 with all the other prerequisites (EMF
> ...) I can switch to the profiling and logging perspective so I think this
> is all o.k.
> - eclipseCon demo sources from the TPTP documentation page
( http://www.eclipse.org/tptp/home/documents/eclipseCon2005/Ec lipseCon_2005_T
> - Imported eclipsecon.tutorial.datacollection and
> eclipsecon.tutorial.datacollection.agent projects into the workspace.
> a few compiler errors where package names have changed. I can now run
> eclipsecon.tutorial.datacollection.agent as a java application and the
> keeps telling me that it is not being monitored yet.
> - Downloaded and unpacked the windows agent controller, ran SetConfig.bat
> but left everything as default. Started the RAServer as an application
> the command line). It doesn't say anything but keeps running until I kill
> so I guess this must be o.k.
> - Create a new eclipseCon Agent launch configuration and leave the host
> entry as "localhost". With RAServer and the agent running I start the
> configuration. Here is the console output:
> asked to connect to localhost:10002
> connecting to RAC
> connected to RAC
> problem initialising loader
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:152)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:3413)
> eclipsecon.tutorial.datacollection.AgentLoader.init(AgentLoa der.java:206)
> at org.eclipse.ui.internal.UISynchronizer$1.run(UISynchronizer. java:36)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> So I figure:
> - The eclipse launch can actually contact the RAServer
> - The RAServer does not know anything about the demo Agent, even though it
> is running.
> How do I get the two acquainted?
> Or what else can I do ?
> Thanks for reading this far - and for responses!
> Norbert Ploett
Powered by FUDForum
. Page generated in 0.03368 seconds