| Summary: | Attempting to profile results in an IWAT0435E connection failure and no data collectors | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Reid Kleckner <rnk> |
| Component: | TPTP | Assignee: | Bing Xu <xubing> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P1 | CC: | briggs, chenbs, ewchan, jcayne, johan, jrivers, knb, paulslau, pruggia, sambitbasu, samira.negm, xubing |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | closed471 | ||
|
Description
Reid Kleckner
Could you tried with latest TPTP 4.5.1 build? This may related to a known problem of IAC in 4.5.0. (In reply to comment #1) > Could you tried with latest TPTP 4.5.1 build? This may related to a known > problem of IAC in 4.5.0. > I unzipped the all-in-one TPTP zip package over my eclipse directory, and it had exactly the same symptoms etc. I looked in "Help -> Software Updates..." to see what version of TPTP Eclipse thinks it has, and it listed the old numbers, which are a mix of 4.5, 4.4, and 4.3. Do I need to uninstall TPTP before unpacking the zip? Or do I need to hit it until it works? :) Same thing happens to me. Using TPTP all-in-one package, Ubuntu Linux 8.04. JDK 1.6.x I've just created an empty java project with a single class with a main method. IWAT0435E An error ocurred when connecting to host I'm using this distribution: tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.5.1.zip Same here.. Still no resolution? Bing, could you take a look at this problem? It sounds like IAC is not function as expected on Linux paltform. Hmm, actually I encountered this error on Win Xp/Ganymede 3.4, with the latest downloadable TPTP plugins from the Ganymede update site. Can someone try this: 1. download and unzip TPTP 4.5.1 all-in-one to a new directory, not on top of existing Eclipse or using Software Update. 2. Start Eclipse using a new workbench. 3. Kill any ACServer process that is running. 4. From Preference->Agent Controller or Profile dialog page, click on Test Connection. If connection fails, please attach the service config and log file under <workspace>/.metadata/.plugins/org.eclipse.tptp.platform.iac.administrator/config. (In reply to comment #8) > Can someone try this: > 1. download and unzip TPTP 4.5.1 all-in-one to a new directory, not on top of > existing Eclipse or using Software Update. > 2. Start Eclipse using a new workbench. > 3. Kill any ACServer process that is running. > 4. From Preference->Agent Controller or Profile dialog page, click on Test > Connection. > If connection fails, please attach the service config and log file under > <workspace>/.metadata/.plugins/org.eclipse.tptp.platform.iac.administrator/config. Has anyone tried this? It would help us try to reproduce the problem because so far it worked on our testing machine. I did try the above mentioned steps. 1. OK 2. OK 3. No ACServer process is running. 4. There is no Test Connection in either Preference -> Agent Controller or Profile dialog. One that I found is on Profile -> Test dialog. When I cliked "Test connection", I got a "Security Message" with which says: IWAT0284E The Agent Controller is not available on host localhost. Make sure that: * for localhost, the Internal Agent Controller is supported on your local platform. * the Agent Controller is installed. * the Agent Controller is configured to communicate with your machine. * you have the correct host name and port number for the Agent Controller. org.eclipse.hyades.internal.execution.local.control.AgentControllerUnavailableException Same thing here, no ACServer running. Couldn't find the dialog you are saying. Thanks ! (In reply to comment #10) > I did try the above mentioned steps. > 1. OK > 2. OK > 3. No ACServer process is running. > 4. There is no Test Connection in either Preference -> Agent Controller or > Profile dialog. One that I found is on Profile -> Test dialog. When I cliked > "Test connection", I got a "Security Message" with which says: > IWAT0284E The Agent Controller is not available on host localhost. > Make sure that: > * for localhost, the Internal Agent Controller is supported on your local > platform. > * the Agent Controller is installed. > * the Agent Controller is configured to communicate with your machine. > * you have the correct host name and port number for the Agent Controller. > org.eclipse.hyades.internal.execution.local.control.AgentControllerUnavailableException What's the output of these command on your system: 1. uname -a 2. more /etc/*release 3. java -version And can you post your IAC config and log files. Linux pruggia-laptop 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.1" java version "1.5.0_15" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04) Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode) Here is what my .log file inside the workspace say: !SESSION 2008-10-20 15:22:29.032 ----------------------------------------------- eclipse.buildId=M20080911-1700 java.version=1.5.0_15 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-10-20 15:23:51.447 !MESSAGE RAServer generated the following output: [Error Stream]:/home/pruggia/Desktop/eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200808290100/agent_controller/bin/ACStart.sh: 52: [[: not found !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-10-20 15:23:51.534 !MESSAGE RAServer generated the following output: [Error Stream]:ACServer: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-10-20 15:23:54.687 !MESSAGE RAServer generated the following output: [Error Stream]:/home/pruggia/Desktop/eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200808290100/agent_controller/bin/ACStart.sh: 52: [[: not found !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-10-20 15:23:54.702 !MESSAGE RAServer generated the following output: [Error Stream]:ACServer: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-10-20 15:23:57.959 !MESSAGE RAServer generated the following output: [Error Stream]:/home/pruggia/Desktop/eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200808290100/agent_controller/bin/ACStart.sh: 52: [[: not found !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-10-20 15:23:57.975 !MESSAGE RAServer generated the following output: [Error Stream]:ACServer: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-10-20 15:24:01.530 !MESSAGE RAServer generated the following output: [Error Stream]:/home/pruggia/Desktop/eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200808290100/agent_controller/bin/ACStart.sh: 52: [[: not found !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-10-20 15:24:01.531 !MESSAGE RAServer generated the following output: [Error Stream]:ACServer: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory !ENTRY org.eclipse.core.jobs 4 2 2008-10-20 15:24:03.551 !MESSAGE An internal error occurred during: "Fetching children of data collector". !STACK 0 org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3777) at org.eclipse.swt.SWT.error(SWT.java:3695) at org.eclipse.swt.SWT.error(SWT.java:3666) at org.eclipse.swt.widgets.Display.error(Display.java:1142) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4012) at org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.PIDelegateHelper$JVMVersionDetector.<init>(PIDelegateHelper.java:373) at org.eclipse.tptp.platform.instrumentation.ui.internal.launcher.PICollectorFiltration.include(PICollectorFiltration.java:30) at org.eclipse.tptp.trace.ui.internal.launcher.core.DataCollectorTreeContentProvider$DeferredDataCollectorAdapter.fetchDeferredChildren(DataCollectorTreeContentProvider.java:324) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2008-10-20 15:24:03.588 !MESSAGE [stopAC] Tried to kill RAServer with the shutdown command, but an error occurred. Message (if any):/home/pruggia/Desktop/eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200808290100/agent_controller/bin/ACStop.sh: 35: [[: not found From the log, this seems caused by same problem reported in https://bugs.eclipse.org/bugs/show_bug.cgi?id=240677. Can you confirm? I'm sure that is the problem. But I can't install the old libaries cause they are not in the repository. Thanks ! Joel, does Pablo have other options to solve this? *** This bug has been marked as a duplicate of bug 240677 *** Hi Pablo, If you can, install the rpm for compat-libstdc++ package in Ubuntu or the equivalent glibc/gcc. I have gcc 4.2.3 installed. Which one should I have ? Thanks ! If you can get the equivalent of gcc-2.96 it should work. I can confirm the fix. I am running Ubuntu 7.10 (Gutsy). I installed libstdc++2.10-glibc2.2 which was in the repository. And now the error is gone and I can see the Profile dialog. Didn't even have to restart eclipse. I'm running 8.04, that version isn't in the repositories anymore or i'm not able to find it =( Pablo, You can try downloading the package from the Ubuntu site for installation. Of course, and i'm sure that it will work. Anyway, will this be corrected or at least added to a FAQ so people don't have get to bugzilla to understand what's happening ? Being Ubuntu the most spreaded distro, TPTP should work without installing anything. Bug 240677 should be marked as critical or major and be solved for next release. Thank you very much for the help with this problem, continue with this great work ! Installed package libstdc++2.10-glibc2.2_2.95.4-22_i386 package in Ubuntu 8.04 and all went ok. I've created a blog post about this here: http://goodenoughjava.blogspot.com/2008/10/profiling-with-eclipse-tptp-problem.html on mandriva 2009.0 this installs the necessary dependency. # urpmi libstdc++-libc6.2-2.so.3 /\/ what about windows I'm using win xp, java 1.6 and I'm using the "ALL in one" version from site: http://www.eclipse.org/downloads/download.php?file=/tptp/4.6.1/TPTP-4.6.1/tptp.runtime.allInOne.win32.win32.x86-TPTP-4.6.1.zip what should i do to fix this issue? I hope somebody is still reading these comments. I see that bug #240677 was closed in 4.6, however we've installed TPTP 4.6 and this problem is still happening. It actually worked once but since then my eclipse gets stuck on "Fetching children of data collector" / "Filtering data collectors". For what it's worth, the only feature with a 4.6 version is "TPTP Platform" (org.eclipse.tptp.platform.core). Running RHEL 5.3 with eclipse 3.5.1 and tptp 4.6.1. Could you try with the all-in-one TPTP 4.6.1 release available in http://www.eclipse.org/tptp/home/downloads/?ver=4.6.1? Also before you start the Eclipse workbench, check and make sure there is no dangling java.exe nor ACServer.exe running on the same host as the Eclipse workbench that may be results of failed launch in previous Eclipse session. HTH. (In reply to comment #29) > Could you try with the all-in-one TPTP 4.6.1 release available in > http://www.eclipse.org/tptp/home/downloads/?ver=4.6.1? > > Also before you start the Eclipse workbench, check and make sure there is no > dangling java.exe nor ACServer.exe running on the same host as the Eclipse > workbench that may be results of failed launch in previous Eclipse session. > > HTH. The linking problems may be fixed, but there's another problem with the same symptoms: All the scripts and executables in the, for example, /usr/lib/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.300.v201006031900/agent_controller/bin directory need to have execute permission on them. It errors with: !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2010-07-29 17:15:08.710 !MESSAGE Cannot run program "/usr/lib/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.300.v201006031900/agent_controller/bin/ACStart.sh" (in directory "/usr/lib/eclipse/plugins/org.eclipse. tptp.platform.ac.linux_ia32_4.4.300.v201006031900/agent_controller/bin"): java.io.IOException: error=13, Permission denied !STACK 0 java.io.IOException: Cannot run program "/usr/lib/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.300.v201006031900/agent_controller/bin/ACStart.sh" (in directory "/usr/lib/eclipse/plugins/ org.eclipse.tptp.platform.ac.linux_ia32_4.4.300.v201006031900/agent_controller/bin"): java.io.IOException: error=13, Permission denied at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at java.lang.Runtime.exec(Runtime.java:593) at org.eclipse.tptp.platform.iac.administrator.internal.startstop.AutoStartStop.startIAC(AutoStartStop.java:110) at org.eclipse.hyades.internal.execution.local.control.NodeImpl.connect(NodeImpl.java:283) at org.eclipse.hyades.security.internal.util.BaseConnectUtil.insecureConnect(BaseConnectUtil.java:370) at org.eclipse.hyades.security.internal.util.BaseConnectUtil.connect(BaseConnectUtil.java:256) at org.eclipse.hyades.security.internal.util.BaseConnectUtil.connect(BaseConnectUtil.java:541) at org.eclipse.tptp.platform.common.ui.trace.internal.util.PDCoreUtil.profileConnect(PDCoreUtil.java:827) at org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.DefaultJVMVersionDetector.connect(DefaultJVMVersionDetector.java:100) at org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.DefaultJVMVersionDetector.getJVMVersion(DefaultJVMVersionDetector.java:59) at org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.PIDelegateHelper$JVMVersionDetector.retrieveVersionOutput(PIDelegateHelper.java:398) at org.eclipse.tptp.trace.ui.internal.launcher.application.PICollectorFiltration.include(PICollectorFiltration.java:29) at org.eclipse.tptp.trace.ui.internal.launcher.core.DataCollectorTreeContentProvider$DeferredDataCollectorAdapter.fetchDeferredChildren(DataCollectorTreeContentProvider.java:324) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 14 more 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. |