I’ve been trying to install Websphere Integration Developer 6.2 on Ubuntu 10.10 and have found a couple of tricks to get this going.

Install libstdc++5

sudo apt-get install libstdc++5

Increase open files limit

You need to edit /etc/security/limits.conf and increase the limit by adding the following:

*  hard  nofile  10240

Switch /bin/sh to point to /bin/bash

Out of the box, Ubuntu 10 uses the dash shell and this causes an error when trying to generateKeysForSingleProfile (according to the logs?!).

Fix this by recreating the /bin/sh symlink to point to /bin/bash

sudo unlink /bin/sh
sudo ln -s /bin/bash /bin/sh

Now when you run sudo launchpad.sh to install, everything should just work.

Running WID for the first time

We’re still not quite there as launching WID will present you with an error which shows up in the specified log as:

!MESSAGE Widget disposed too early!

To fix this we follow IBM’s instructions and edit the /opt/IBM/WID62/eclipse.ini file and add the following:


Fixing the internal browser

You should find WID will launch but the welcome screen will inform you that your default system browser is not supported. No problem, it gives you instructions on how to proceed which I’ll include here for ease:

1. Download a precompiled version of the Mozilla browser from the following site: http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.12/contrib/mozilla-i686-pc- linux-gnu-1.7.12gtk2+xft.tar.gz

If this link does not work, look for a Linux (x86) for GTK2 and Xft build from the following site: http://www.mozilla.org/releases/

2. Extract this file to a location on your workstation, for example, as /opt/mozilla-1.7.12-gtk2+xft.

3. Log in as the root user or become the root user by issuing the su command.

4. Open a command prompt and run the following commands:

cd /opt/mozilla-1.7.12-gtk2+xft/plugins tar xvfz install_flash_player_9_linux.tar.gz mv install_flash_player_9_linux/flashplayer.xpt . mv install_flash_player_9_linux/libflashplayer.so .


rm -rf install_flash_player_9_linux

5. Log out as the root user.

6. From a command prompt, run the following commands:

cd /opt/mozilla-1.7.12-gtk2+xft

7. Exit WebSphere Integration Developer and restart it with the same workspace directory.

8. Update your .profile file to set these environment variables at the user level. In order for this to take effect you will need to logout and login again.

export MOZILLA_FIVE_HOME=/opt/mozilla-1.7.12-gtk2+xft 
export LD_LIBRARY_PATH=$LD_LIBRARY:/opt/mozilla-1.7.12-gtk2+xft

Removing the reference to xulrunner

Now we’ve changed the internal browser we need to remove the reference to xulrunner which we used previously to get WID started. Otherwise WID will try to use xulrunner as its default browser and ignore our environment variable.

So go back to the /opt/IBM/WID62/eclipse.ini file and remove the last line that we put on there.

Hopefully, fingers crossed, WID should now start without a hitch.