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?
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.
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 :)
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With