Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » The process launcher seems to be inactive. Restart the Agent Controller and try
The process launcher seems to be inactive. Restart the Agent Controller and try [message #134886] Mon, 25 August 2008 09:50 Go to next message
Mahesh Maney is currently offline Mahesh Maney
Messages: 28
Registered: July 2009
Junior Member
we are facing problems with TPTP Profiler and found a similar FAQ here -
http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tptp/m sg06482.html

following the same procedure, we ended up with thr below problem.

We have installed TPTP manually from .zip file. The content was about
293MB. It was downloaded from the TPTP site.

After installing and executing the exclipse.exe file, the help menu shows
the following, here is the Version: Eclipse SDK
Version: 3.3.2
Build id: M20080221-1800
We are exploring on the TPTP profiler to integrate it with our eclipse,
built on Europa-3.3

As a first step we have a sample code ( CarModel, downloaded from the same
site ) to profile.

We have changed to the perspective to Profiling and Logging. We get the
Exceution analysis – Coverage analysis – Memory statistics – Object
References and Execution Flow views. Under all the views we get the
following message.

No execution statistics is available for display.
Either you have no trace selected in the Profiling Monitor view or the
current selection does not contain execution statistic information.

Note:
This view is available only if the trace contains execution statistics. To
collect this type of information, on the Profile tab in the Launch
configuration, choose the Execution Time Analysis option.


We followed the link -
http://www.eclipse.org/tptp/home/downloads/installguide/agen tcontroller_41/win_ia32/getting_started.html
to set up agent controller.

We have downloaded the 14.6MB Agent Controller version 4.2.
And after extracting the files to a folder, we have executed the
RAService.exe and ACServer.exe files. Both of these is listed in
TaskManager.
And then on the workspace we right click and select Profile as Java
Application.


We get Edit launch configuration properties window -> under Monitor tab,
we choose : Java Profiling – JRE 1.5 and Execution Time Analysis under
that.

Even after this, we are unable to profile. Reason being, we get the agent
controller error message always

org.eclipse.core.runtime.CoreException
The process launcher seems to be inactive. Restart the Agent Controller
and try again.

org.eclipse.core.runtime.CoreException: The process launcher seems to be
inactive. Restart the Agent Controller and try again.
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:123)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:131)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.handleError(TIDelegateHelper.java:597)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:509)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:313)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJ avaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1163)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:196)
at java.lang.Thread.run(Unknown Source)


Have missed anything in the process of enabling profiler?
Can anyone help us with this issue?
do let us know how to proceed further.
Thank You
Re: The process launcher seems to be inactive. Restart the Agent Controller and try [message #134927 is a reply to message #134886] Mon, 25 August 2008 13:54 Go to previous message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
Hi Mahesh,

In your first use case, did you have a successful launch? and how did you
open the profiling views (execution, memory and coverage views)? You will
need to have an Agent Controller running for your profile to work. I would
suggest you try the following to profile:
1. Shut down Eclipse workbench.
2. Shut down Agent Controller.
3. Make sure there is no ACServer.exe nor dangling java.exe process running
on your system.
4. Start Agent Controller, make sure there is no error starting, you can
check out the servicelog.log file under AgentController/config folder.
5. Start Eclispe workbench.
6. Check agent controller connection via Windows > Preferences > Profiling
and Logging > Hosts > Test Connection button.
7. Profile with launch configuration.
8. Open profiling view by double clicking on the analysis type under a
profiling agent in the Profiling Monitor view, or right click on an agent
and select 'Open With' action.

Hope this helps.
Eugene

"Mahesh Maney" <mahesh.maney@gmail.com> wrote in message
news:f60cba811848ee15cd5b55b97667761b$1@www.eclipse.org...
> we are facing problems with TPTP Profiler and found a similar FAQ here -
> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tptp/m sg06482.html
>
> following the same procedure, we ended up with thr below problem.
>
> We have installed TPTP manually from .zip file. The content was about
> 293MB. It was downloaded from the TPTP site.
>
> After installing and executing the exclipse.exe file, the help menu shows
> the following, here is the Version: Eclipse SDK
> Version: 3.3.2
> Build id: M20080221-1800
> We are exploring on the TPTP profiler to integrate it with our eclipse,
> built on Europa-3.3
>
> As a first step we have a sample code ( CarModel, downloaded from the same
> site ) to profile.
>
> We have changed to the perspective to Profiling and Logging. We get the
> Exceution analysis
Previous Topic:Error running URL Test
Next Topic:Sources for libperflin.so, librac.so, LinuxAgent.
Goto Forum:
  


Current Time: Mon Sep 22 04:29:40 GMT 2014

Powered by FUDForum. Page generated in 0.04006 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software