- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我刚刚安装了 TPTP 的最新版本 (4.6.1) 并在 Windows 7(启用用户控制)上使用 Eclipse build 20090621-0832
。
我正在尝试分析应用程序,但在“监视器”选项卡下收到以下错误:
IWAT0435E An error occurred when connecting to the host.
有人知道怎么解决吗?
最佳答案
对于 Windows,这可能与缺少对 Integrated Agent Controller (IAC) 的引用有关
The Integrated Agent Controller (IAC) is a new feature in TPTP workbench which allows users to profile a Java application locally and to run a TPTP Test locally without needing the standalone Agent Controller on the local machine.
Profiling on a remote machine or running a TPTP test on a remote machine would still need the Agent Controller on that remote machine.
The biggest benefit of the Integrated Agent Controller is that it simplifies the usage of TPTP functionality in the local scenario by removing the dependency on the local standalone Agent Controller. There is no need to install and configure the local standalone Agent Controller when using the Profiling and Logging perspective and Test perspective locally.
但是,在其中一个 TPTP 配置文件中可能未正确引用该本地代理,原因可能是:
workspace\.metadata\.plugins\org.eclipse.tptp.platform.iac.administrator\config\serviceconfig.xml
This thread也可能相关。
对于 Linux 用户:
可能与gcc
版本或libstdc++xx-glibcy.y
版本有关,在bug 244213中提到或 bug 240677
这blog post涉及在他的情况下可能采用哪种解决方法。也许它可以在这里有所帮助。
摘录:
A workaround for this is described in this blog post.
It's pretty straight forward: get a
deb
fileand install it with sudo dpkg ....libstdc++2.10-glibc2.2_2.95.4-27_i386.deb
(2010 年 12 月更新:3.x 之前的 gcc 不再可用。
例如,您可以尝试使用 (gcc-3.3
) libstdc++5_3.3.6-20_i386.deb
, 用这个替换所有对 .deb 的引用:
sudo dpkg --install libstdc++5_3.3.6-20_i386.deb
或者如果您在 64 位上运行:
sudo dpkg --force-architecture --install libstdc++5_3.3.6-20_i386.deb
虽然没有测试。)
The problem is now that the workaround involves root actions.
First, one hasn't always the required root permissions to do so.
More importantly however, I don't like installing external debs and other stuff as root because it can interfere with the packaging system, pollute system directories and break things in ugly, or worse, unrecoverable ways.I always install third party stuff (with which I mean things that are not available through the standard packaging system) in my home directory under
~/usr
.
For example, I build autotools-managed software with the option--prefix=~/usr
, so things end up in~/usr/bin
,~/usr/lib
,~/usr/share
, etcetera.I managed to install the deb file described above also in
~/usr
as follows.
First, I extracted the deb file to a temporary directory to get an idea of its contents:
dpkg -x libstdc++2.10-glibc2.2_2.95.4-27_i386.deb tmp/
This resulted in the following file tree:
tmp/
`-- usr
|-- lib
| |-- libstdc++-3-libc6.2-2-2.10.0.so
| `-- libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
`-- share
`-- doc
`-- libstdc++2.10-glibc2.2
|-- README.Bugs.gz
|-- README.Debian
|-- changelog.Debian.gz
`-- copyright
So I just had to move the shared libraries
libstdc++*.so
to~/usr/lib
, or alternatively, extract the deb file directly int my home directory:
dpkg -x libstdc++2.10-glibc2.2_2.95.4-27_i386.deb ~/
One important missing piece of the puzzle is to make sure these shared libraries can be found at run time (or compile time in case you want to compile against them).
The trick is to set theLD_LIBRARY_PATH
andLD_RUN_PATH
environment variables, typically in your~/.bashrc
or~/.profile
startup scripts:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/usr/lib
export LD_LIBRARY_PATH
LD_RUN_PATH=$LD_RUN_PATH:~/usr/lib
export LD_RUN_PATH
And Eclipse TPTP profiling lived happily ever after. I hope.
关于eclipse-tptp - 如何在 Windows 中绕过 TPTP 的 IWAT0435E,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1986644/
我刚刚安装了 TPTP 的最新版本 (4.6.1) 并在 Windows 7(启用用户控制)上使用 Eclipse build 20090621-0832。 我正在尝试分析应用程序,但在“监视器”选项
我已经按照说明安装了TPTP工具。 https://wiki.eclipse.org/Install_TPTP_with_Update_Manager 重启后我仍然找不到 TPTP 配置文件按钮。如何
我需要分析服务器客户端 Java 应用程序(基于 Jersey/REST FYI)。 我了解到,使用 TPTP 分析远程服务器确实很痛苦,所以我想保持简单:我编写了一个测试用例(“主”),它运行独立服
我是分析新手。我决定从 Eclipse TPTP 开始,因为它看起来简单且易于配置 我从这个基本应用程序开始 public class As { public static void main
我需要为客户分析一个 Java 应用程序。这是一个 eclipse/maven 项目,所以我决定使用 eclipse TPTP ( http://www.eclipse.org/tptp )。 我尝试
我正在尝试将文本文件从 Linux 服务器复制到 Windows 服务器 2008 机器。我在 Windows 机器上设置了普通文件传输 (TFTP) 服务器。我想知道我是否需要在 Linux 服务器
我正在尝试使用 TPTP 分析 CPU 使用情况。应用程序配置文件在 Linux RH AS5 上运行。我按照描述的方式安装并配置了代理 Controller here 我使用命令运行了 java 应
VisualVM 和 Eclipse TPTP 有什么区别? 最佳答案 一个区别是 TPTP 正在“存档”。 来自 http://www.eclipse.org/tptp/home/project_i
我尝试使用两种方法安装 TPTP: Manual install Install using Eclipse Installation manager 使用第一种方法,Eclipse IDE 中不会出
您是否找到了 TPTP 的一个很好的替代方案,即 archived , 在 Eclipse 中分析 Java 应用程序? 我知道这不完全是一个编程问题,所以如果这不适合 Stack Overflow,
我需要分析由 JNI 调用 API 从 C 应用程序启动的 java 应用程序,自然 TPTP 工具似乎是一个不错的起点。但是,我可以启动该应用程序,但我不知道如何连接到它进行分析。我意识到这属于“愚
我想测量我们开发的一些 eclipse 插件随时间的内存使用情况。在网上搜索,经常提到2个项目:Eclipse Memory Analyzer和TPTP。 我觉得内存分析器会提供一些关于对象数量和大小
如何使用 Eclipse 测试和性能工具平台在本地分析 google app engine 项目? 我已经安装了该插件,但是当我选择对其进行分析时,没有将其分析为 Web 应用程序的选项,只能作为无法
我正在尝试使用 TPTP 在 OSX 上的 eclipse 中分析 junit 测试.我从 eclipse 安装了 TPTP 包没有问题,我去分析了一些代码,它告诉我: Agent Controlle
在 Eclipse 中分析 Android 应用程序的标准方法是使用插件 DDMS 并创建一个包含所有信息的跟踪文件。如果您想查看此信息,您可以使用“traceview”。我不喜欢我第一次使用此应用程
我用 Java 开发了一个很好的多线程遗传算法,它运行在运行 CentOS、128GB RAM 的 16 核系统上。 我想使用代码分析器来查看当我将模拟中的突变数量增加到超过某个点时,是否可以找出代码
在 Eclipse Ganymede 上安装测试和性能工具平台后,每当我尝试分析 Java 应用程序时,我都会遇到启动配置对话框,其中包含如下错误: Error IWAT0435E could not
我是一名优秀的程序员,十分优秀!