Community
Participate
Working Groups
I'm not able to profile a java application on linux. running sun java6 update4, i select the profile jdk5 or later option but I get the following exception. Under preferences, the port is set to 10002 and clicking on "test connection" succeeds. -- Error Log -- Date: Wed Feb 20 01:56:27 GMT 2008 Message: Agent Controller is unavailable under port 10002. Make sure that the service is started and the port number is correct under preferences. Severity: Error Plugin ID: org.eclipse.hyades.trace.ui Stack Trace: 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. at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUtility.createCoreException(LauncherUtility.java:123) at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.connectToAgentController(TIDelegateHelper.java:402) at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.launch(TIDelegateHelper.java:310) at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJavaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37) at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUtility.delegateInit(LauncherUtility.java:1163) at org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunchDelegate.run(PrimaryLaunchDelegate.java:195) at java.lang.Thread.run(Thread.java:619) org.eclipse.core.runtime.CoreException[0]: org.eclipse.tptp.platform.execution.exceptions.AgentControllerUnavailableException: Error: Unable to connect to the Agent Controller.Read timed out at org.eclipse.tptp.platform.execution.client.core.internal.NodeImpl.connect(NodeImpl.java:128) at org.eclipse.tptp.platform.execution.util.internal.AgentControllerFactory$EstablishConnection.run(AgentControllerFactory.java:126) at java.lang.Thread.run(Thread.java:619) TPTP installed via Ganymede Discovery site
Created attachment 90135 [details] Configuration Details
Hi Rene, Can you try this with JVM 1.5. 1. In your Eclipse workbench, make sure IAC is enabled via Window -> Preferences -> Agent Controller. 2. In Java perspective, click the Profiling button on the tool bar and select Profile Configuration.... 3. In the dialog box, create a new External Java Application 4. Under Host tab, click on 'Test Connection'. Try it couple of times to see if you get 'Connection Successful' message. 5. If failed, check if 'ACServer' is running on your local machine. Have you tried with the stand-along AC (ie download and install AC from www.eclipse.org/tptp site)?
Hi, unfortunately I can't try with a 1.5 JVM die to lack of disk space. But I tried to start the ACCServer by hand and got the following: Starting Agent Controller. ACServer: error while loading shared libraries: ../lib/libtptpUtils.so.4: file too short ACServer failed to start. looks like it is a problem with my external drive (fat32) not supporting symlinks ...
Hi Rene, Did you install your TPTP through Eclipse Update Manager? There is a known bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=214788) for missing symbolic links. If that's the case, can you confirm and you may try to download TPTP from www.eclipse.org/tptp.
Hi, yes, installed TPTP through the Update Manager, replacing it by the latest version from www.eclipse.org/tptp, i get the following: rbrandenburger@debberlein:$ ./ACStart.sh Starting Agent Controller. ACServer: error while loading shared libraries: libtptpUtils.so.4: cannot open shared object file: No such file or directory ACServer failed to start.
(In reply to comment #5) > Hi, > yes, installed TPTP through the Update Manager, replacing it by the latest > version from www.eclipse.org/tptp, i get the following: > rbrandenburger@debberlein:$ ./ACStart.sh > Starting Agent Controller. > ACServer: error while loading shared libraries: libtptpUtils.so.4: cannot open > shared object file: No such file or directory > ACServer failed to start. What's the build number of the TPTP you donwloaded? And for which platform? Are you running 64 or 32 bit Linux? I assume you are using Sun JVM 1.6 for the stand-alone AC.
(In reply to comment #6) > (In reply to comment #5) > > Hi, > > yes, installed TPTP through the Update Manager, replacing it by the latest > > version from www.eclipse.org/tptp, i get the following: > > rbrandenburger@debberlein:$ ./ACStart.sh > > Starting Agent Controller. > > ACServer: error while loading shared libraries: libtptpUtils.so.4: cannot open > > shared object file: No such file or directory > > ACServer failed to start. > > What's the build number of the TPTP you donwloaded? And for which platform? Are > you running 64 or 32 bit Linux? I assume you are using Sun JVM 1.6 for the > stand-alone AC. this is the file i downloaded, i'm running 32 bit linux, uname -a says Linux debberlein 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux it's ubuntu gutsy (7.10), with Sun JVM 1.6 update 4 tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.4.1.zip
Created attachment 92315 [details] Configuration Details of downloaded package
Created attachment 92317 [details] Message in Error Log
Hi Rene, I confirmed with our build team that TPTP IAC on Linux are having problem with the symbolic links. 214788 is affecting TPTP 4.4 and later on Linux. The work around is to download a stand-alone agent controller from www.eclipse.org/tptp. It shouldn't take long and if you need help please let me know.
*** This bug has been marked as a duplicate of bug 214788 ***
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.