Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Run TPTP local host(Agent Controller configuration for localhost)
Run TPTP local host [message #491641] Thu, 15 October 2009 11:08 Go to next message
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 158
Registered: July 2009
Senior Member
Hi,

I have installed Tracing and Profiling Tools Project 4.3.301 for Eclipse Galileo. I just tried to connect to my java application ( local host ) but got the following error: IWAT0435E An error occurred when connecting to the host

I checked the log, found 'Failed to find VM - aborting' and tried to execute AgentController manually using the script ./ACStart.sh I got the following output:

Failed to find VM - aborting

I checked the config file and found that there was nothing in "serviceconfig.xml" ( see below).

When running TPTP on an java application on my localhost what do I need to set? Shall I also run the SetConfig.sh in bin -dir of tptp package?

What more do I need to set before I can run profiling?

br,

//mike

------------------------------------------------------------ -------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2005, 2008 Intel Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Intel - Initial contribution
-->
<PluginConfiguration>
</PluginConfiguration>

------------------------------------------------------------ --------------------------------------------------------
Re: Run TPTP local host [message #491723 is a reply to message #491641] Thu, 15 October 2009 14:55 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Mikael,

It sounds like something is broken in the AC setup.
Are you running an standalone Agent Controller? For local profile, you do
not need a standalone Agent Controller, TPTP component ships with an
integrated Agent Controller for localhost profile, and it will start/stop
and configure itself for localhost profile.
Try the following:
1. Shut down Eclipse
2. Shut down Agent Controller (if running)
3. Make sure there is no dangling java.exe, eclipse.exe and ACServer.exe
running on your machine.
4. Restart Eclipse and try profile again.

I just verified with eclipse-java-galileo-SR1-win32.zip and installed
Tracing and Profiling Tools Project 4.3.301 with 'Install New Software...'
and it runs okay on my WinXP machine.

Eugene

"Mikael Petterson" <mikaelpetterson@hotmail.com> wrote in message
news:hb6vrr$a2n$1@build.eclipse.org...
> Hi,
>
> I have installed Tracing and Profiling Tools Project 4.3.301 for Eclipse
> Galileo. I just tried to connect to my java application ( local host ) but
> got the following error: IWAT0435E An error occurred when connecting to
> the host
>
> I checked the log, found 'Failed to find VM - aborting' and tried to
> execute AgentController manually using the script ./ACStart.sh I got the
> following output:
>
> Failed to find VM - aborting
>
> I checked the config file and found that there was nothing in
> "serviceconfig.xml" ( see below).
>
> When running TPTP on an java application on my localhost what do I need to
> set? Shall I also run the SetConfig.sh in bin -dir of tptp package?
>
> What more do I need to set before I can run profiling?
>
> br,
>
> //mike
>
> ------------------------------------------------------------ -------------------------------------------------------
> <?xml version="1.0" encoding="UTF-8" ?>
> <!--
> Copyright (c) 2005, 2008 Intel Corporation and others.
> All rights reserved. This program and the accompanying materials
> are made available under the terms of the Eclipse Public License v1.0
> which accompanies this distribution, and is available at
> http://www.eclipse.org/legal/epl-v10.html
> Contributors:
> Intel - Initial contribution
> -->
> <PluginConfiguration>
> </PluginConfiguration>
>
> ------------------------------------------------------------ --------------------------------------------------------
Re: Run TPTP local host [message #491888 is a reply to message #491723] Fri, 16 October 2009 12:12 Go to previous messageGo to next message
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 158
Registered: July 2009
Senior Member
Hi Eugene,

Thanks for your reply.

I killed Eclipse process. Used ps -ef | grep java as well as ps .-ef | grep ACServer

Then I started Eclipse again an tried to "Profile" application again. This was the error message in the log:

ENTRY org.eclipse.update.configurator 4 0 2009-10-16 13:52:44.458
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16 13:53:00.263
!MESSAGE RAServer generated the following output: [Output Stream]:The server is already running on pid 18326


!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16 13:53:00.805
!MESSAGE RAServer generated the following output: [Output Stream]:The server is already running on pid 18326


!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16 13:53:02.086
!MESSAGE RAServer generated the following output: [Output Stream]:The server is already running on pid 18326


!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16 13:53:03.361
!MESSAGE RAServer generated the following output: [Output Stream]:The server is already running on pid 18326


!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16 13:53:10.900
!MESSAGE RAServer generated the following output: [Output Stream]:Failed to find VM - aborting

What is RAServer? I have added log for eclipse as well as config information.

br,

//mikael
Re: Run TPTP local host [message #492756 is a reply to message #491888] Wed, 21 October 2009 15:37 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Mikael,

It seems that an Agent Controller is alerady running when the Integrated AC
(iac) try to start itself. Could you verify the process of the pid mentioned
and kill it as needed. RAServer is an equivalent of ACServer.

Eugene

"Mikael Petterson" <mikaelpetterson@hotmail.com> wrote in message
news:hb9nuu$214$1@build.eclipse.org...
> Hi Eugene,
>
> Thanks for your reply.
>
> I killed Eclipse process. Used ps -ef | grep java as well as ps .-ef |
> grep ACServer
>
> Then I started Eclipse again an tried to "Profile" application again. This
> was the error message in the log:
>
> ENTRY org.eclipse.update.configurator 4 0 2009-10-16 13:52:44.458
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16
> 13:53:00.263
> !MESSAGE RAServer generated the following output: [Output Stream]:The
> server is already running on pid 18326
>
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16
> 13:53:00.805
> !MESSAGE RAServer generated the following output: [Output Stream]:The
> server is already running on pid 18326
>
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16
> 13:53:02.086
> !MESSAGE RAServer generated the following output: [Output Stream]:The
> server is already running on pid 18326
>
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16
> 13:53:03.361
> !MESSAGE RAServer generated the following output: [Output Stream]:The
> server is already running on pid 18326
>
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2009-10-16
> 13:53:10.900
> !MESSAGE RAServer generated the following output: [Output Stream]:Failed
> to find VM - aborting
>
> What is RAServer? I have added log for eclipse as well as config
> information.
>
> br,
>
> //mikael
Previous Topic:profiling interpreted java code
Next Topic:TPTP vs DynaTrace
Goto Forum:
  


Current Time: Wed May 08 06:53:15 GMT 2024

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

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

Back to the top