TPTP still doesn't work [message #114891] |
Wed, 10 October 2007 05:18  |
Eclipse User |
|
|
|
Originally posted by: n.sherlock.gmail.com
Hey all,
Has anyone else managed to solve this problem? I'm on Windows XP,
Eclipse 3.3.0, my Java is Sun's jre1.6.0_02. My firewall is disabled and
all IAC security is set to minimum. IAC is enabled. When I open the
profile dialog, it takes ages for the data collectors display to
populate. Then, when I attempt to profile, it hangs at 33% with this
message:
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:
at
org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerFactory.createConnection(AgentControllerFactory.java:55 )
at
org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerPool.createConnection(AgentControllerPool.java:190)
at
org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerPool.getConnection(AgentControllerPool.java:152)
at
org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerPool.getConnection(AgentControllerPool.java:83)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.uti l.AgentControllerDelegate.getConnection(AgentControllerDeleg ate.java:47)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.uti l.AgentControllerDelegate.getConnection(AgentControllerDeleg ate.java:52)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.connectToAgentController(TIDelegateHelper.java :395)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:310)
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)
None of the TPTP versions have ever worked for me, despite multiple
clean installs of Eclipse. I've even tried the standalone agent
controller in the past (Pre 4.4) and never got anywhere. This was with
TPTP 4.4.1.v200709010100.
Cheers,
Nicholas Sherlock
|
|
|
Re: TPTP still doesn't work [message #114917 is a reply to message #114891] |
Wed, 10 October 2007 05:30   |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Nicholas Sherlock ha scritto:
> Hey all,
>
> Has anyone else managed to solve this problem? I'm on Windows XP,
> Eclipse 3.3.0, my Java is Sun's jre1.6.0_02. My firewall is disabled and
> all IAC security is set to minimum. IAC is enabled. When I open the
> profile dialog, it takes ages for the data collectors display to
> populate. Then, when I attempt to profile, it hangs at 33% with this
> message:
>
> 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.
>
Hi Nicholas,
I can suggest you some trials:
1) make sure you have no ACServer.exe and TPTPController.exe processes
runnning; if so, terminate them with Task Manager; start Eclipse and try
to profile your application: after Eclipse gives you that error message,
are ACServer.exe and TPTPController.exe processes running? They should
2) if you have problems with the IAC, try the stand-alone: restart
completely from scratch (so, no ACServer.exe nor
TPTPProcessController.exe running), download the stand-alone agent
controller from the TPTP download page (please take the one which
corresponds to the TPTP build id you're using), unpack it anywhere in
your system, open a DOS prompt in its bin folder and run SetConfig.exe,
following the on-screen instructions (please note that you should
configure it to use a Java 1.5 JRE, because 1.6 might not be totally
supported... at least this is what I understood); then, start
ACServer.exe and leave the DOS prompt open; start Eclipse and try to
profile your application
3) if you still have errors with the stand-alone agent controller and
the error given is a time-out problem, you might be encountering bug 201474:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=201474
If so, you may help to definitively solve this problem; you'll also find
an attached modified SocketTL.dll for the stand-alone agent controller,
which works in my case.
I hope to have been of help.
Mauro.
|
|
|
|
Re: TPTP still doesn't work [message #115008 is a reply to message #114891] |
Wed, 10 October 2007 07:30   |
Eclipse User |
|
|
|
Originally posted by: ffr.softwareag.com
Hi Nicholas,
perhaps it's not that complicated.
Are you using TPTP from an extension location?
Or, is EMF used from an extension location?
Or, is the drive where your TPTP installation resides write protected?
If one of these applies, the IAC can't start because of a misconfigured or
readonly configuration file (i.e. serviceconfig.xml).
Regards
Frank
"Nicholas Sherlock" <n.sherlock@gmail.com> wrote in message
news:fei5dr$qlt$1@build.eclipse.org...
> Hey all,
>
> Has anyone else managed to solve this problem? I'm on Windows XP, Eclipse
> 3.3.0, my Java is Sun's jre1.6.0_02. My firewall is disabled and all IAC
> security is set to minimum. IAC is enabled. When I open the profile
> dialog, it takes ages for the data collectors display to populate. Then,
> when I attempt to profile, it hangs at 33% with this message:
>
> 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:
> at
> org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerFactory.createConnection(AgentControllerFactory.java:55 )
> at
> org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerPool.createConnection(AgentControllerPool.java:190)
> at
> org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerPool.getConnection(AgentControllerPool.java:152)
> at
> org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerPool.getConnection(AgentControllerPool.java:83)
> at
> org.eclipse.tptp.platform.jvmti.client.internal.launcher.uti l.AgentControllerDelegate.getConnection(AgentControllerDeleg ate.java:47)
> at
> org.eclipse.tptp.platform.jvmti.client.internal.launcher.uti l.AgentControllerDelegate.getConnection(AgentControllerDeleg ate.java:52)
> at
> org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.connectToAgentController(TIDelegateHelper.java :395)
> at
> org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:310)
> 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)
>
> None of the TPTP versions have ever worked for me, despite multiple clean
> installs of Eclipse. I've even tried the standalone agent controller in
> the past (Pre 4.4) and never got anywhere. This was with TPTP
> 4.4.1.v200709010100.
>
> Cheers,
> Nicholas Sherlock
|
|
|
|
|
|
|
Re: TPTP still doesn't work [message #115581 is a reply to message #115568] |
Tue, 16 October 2007 04:25  |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Nicholas Sherlock ha scritto:
> Nicholas Sherlock wrote:
> Yay! After correcting the system environment variables (TPTP_AC_HOME
> etc.) I can finally profile with the standalone agent controller with
> Java 1.6! Now I can bury myself in optimization and code coverage
> analysis for a few weeks..! :)
Great! :-)
Cheers,
Mauro.
|
|
|
Powered by
FUDForum. Page generated in 0.09125 seconds