Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Agent Controller unavailable on amd64
Agent Controller unavailable on amd64 [message #106164] Mon, 23 July 2007 15:52 Go to next message
Eclipse User
Originally posted by: jamesb.broadcom.com

Hi All,

Will split this into two postings, as they are distinct problems...

I'm trying to profile some Eclipse plugins using TPTP 4.4.0 downloaded
from the TPTP project main page.
The first issues is that, trying to run the Integrated Agent Controller on
Red Hat Enterprise Linux 3.0 with a 64-bit Sun JVM 1.5.0_12, I'm getting
the dreaded:

org.eclipse.core.runtime.CoreException
Agent Controller is unavailable under port 10002. Make sure that the
service is started and the port number is correct under preferences.

org.eclipse.tptp.platform.execution.exceptions.AgentControll erUnavailableException:
Error: Unable to connect to the Agent Controller.Connection refused
at
org.eclipse.tptp.platform.execution.client.core.internal.Nod eImpl.connect(NodeImpl.java:146)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.uti l.AgentControllerDelegate$1$EstablishConnection.run(AgentCon trollerDelegate.java:155)
at java.lang.Thread.run(Unknown Source)



Of interest are the following lines, before these, in the error log:


!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-23
16:42:50.047
!MESSAGE Platform symbolic name cannot be resolved. System architecture:
'amd64' and platform: linux

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-23
16:42:50.047
!MESSAGE Integrated Agent Controller(IAC) was not found. Make sure you
have IAC installed.

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-23
16:42:50.057
!MESSAGE Platform symbolic name cannot be resolved. System architecture:
'amd64' and platform: linux

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-23
16:42:50.057
!MESSAGE Integrated Agent Controller(IAC) was not found. Make sure you
have IAC installed.

If I open the workspace on a 32-bit (but otherwise identically configured)
machine, TPTP appears to work in some limited capacity (i.e. I can profile
a simple hello world application...).

Does anyone have any epxerience running this on an amd64 platform?

Cheers,

James
Re: Agent Controller unavailable on amd64 [message #106215 is a reply to message #106164] Mon, 23 July 2007 17:40 Go to previous messageGo to next message
Eclipse User
Originally posted by: jamesb.broadcom.com

I take it from https://bugs.eclipse.org/bugs/show_bug.cgi?id=157454 that
x86_64 isn't currently a supported platform...?
Re: Agent Controller unavailable on amd64 [message #106228 is a reply to message #106164] Mon, 23 July 2007 19:04 Go to previous messageGo to next message
Marco Maccaferri is currently offline Marco Maccaferri
Messages: 132
Registered: July 2009
Senior Member
On 23/07/2007 17:52 James Blackburn ha scritto:

> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-23
> 16:42:50.047
> !MESSAGE Platform symbolic name cannot be resolved. System architecture:
> 'amd64' and platform: linux
[...]
> Does anyone have any epxerience running this on an amd64 platform?

It's a bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=196341 fixed in
cvs, don't know when it will be available (I can't find any integration
or nigthly build for TPTP).

Regards,
Marco.
Re: Agent Controller unavailable on amd64 [message #106334 is a reply to message #106228] Tue, 24 July 2007 16:45 Go to previous message
Eclipse User
Originally posted by: jamesb.broadcom.com

Excellent! So things are now getting further. I've downloaded the latest
4.4.1-200707230100 build, which seems to have a working IAC. I can now do
Test Connection in "Profiling and Logging" and get back "Connection
Success".

Unfortunately profiling my simple Hello World app (right click Profile
As->Java Application) is still failing. The following is being sent to
the console:
org.eclipse.tptp.platform.execution.exceptions.TimeoutExcept ion: Launching
Process command timed out.
at
org.eclipse.tptp.platform.execution.client.core.internal.Age ntController.queryAgentByProcessID(AgentController.java:513)
at
org.eclipse.tptp.platform.execution.client.core.internal.Age ntController.getAgent(AgentController.java:867)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.locateTIAgent(TIDelegateHelper.java:774)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper$2.processLaunched(TIDelegateHelper.java:457)
at
org.eclipse.tptp.platform.execution.client.core.internal.Pro cessImpl.launchAC(ProcessImpl.java:598)
at
org.eclipse.tptp.platform.execution.client.core.internal.Pro cessImpl.launch(ProcessImpl.java:132)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:490)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:311)
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:1153)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:196)
at java.lang.Thread.run(Thread.java:595)



and in the .metadata/.log file there are a few interesting lines:

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.749
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at java.lang.Class.getDeclaredMethods0(Native Method)

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at java.lang.Class.getDeclaredMethod(Unknown Source)

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at
org.eclipse.hyades.internal.collection.framework.FileClientH andlerExtendedImpl.executeCommand(FileClientHandlerExtendedI mpl.java:134)

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at
org.eclipse.hyades.internal.collection.framework.FileClientH andlerExtendedImpl.run(FileClientHandlerExtendedImpl.java:28 9)

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-07-24
17:23:50.769
!MESSAGE [startIAC: Error Stream] RAServer generated the following output:
at java.lang.Thread.run(Unknown Source)

Any thoughts would be greatly appreciated!

Cheers,

James
Previous Topic:[AGR] How is attribute choiceId determined?
Next Topic:Instant crash when trying to Profile
Goto Forum:
  


Current Time: Tue Oct 21 15:14:44 GMT 2014

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

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