Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve TPTP Monitor error ( IWAT0435E ) in Eclipse, on Debian-based Linux?

After installing Test & Performance Tools Platform in Eclipse Ganymede on, whenever I tried to profile a Java application, I was confronted by the launch configuration dialogue which contained an error along the lines of:

Error IWAT0435E could not connect to host

How is this problem fixed?

like image 373
Grundlefleck Avatar asked Feb 22 '09 15:02

Grundlefleck


3 Answers

After searching for a while I found the solution in a couple of blogs, so thanks to Pablo and Shimi. These contain a more detailed background if you're interested.

The problem related to something called the Agent Controller being linked to an old version of libstdc++. To solve it you can run the following two commands:

wget mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb
sudo dpkg --install libstdc++2.10-glibc2.2_2.95.4-24_i386.deb

Though your mileage may vary depending on distro version etc.

You should then be able to profile successfully in Eclipse, I found that I didn't even need to restart Eclipse.

like image 188
Grundlefleck Avatar answered Nov 16 '22 09:11

Grundlefleck


Use the following if you're using Ubuntu 9.10 Karmic Koala 64 bit

wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb
sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_amd64.deb

Launch eclipse and viola...you're in business :)

like image 39
nanda Avatar answered Nov 16 '22 08:11

nanda


Just install the 'libstdc++5' package from the repos. No need to bother with manually fetching the deb file. (I'm using Ubuntu 10.10 64bit)

e.g. type the following in a terminal:

sudo apt-get install libstdc++5

like image 38
spiffly Avatar answered Nov 16 '22 08:11

spiffly