Hi all!
If you tried runnning soapui 3.6.1 for linux under Ubuntu 11.04, the UI might freeze with the following error:
[XpcMessageLoop] DEBUG com.jniwrapper.DefaultLibraryLoader - Finding library in JARs...
Exception in thread "XpcMessageLoop" java.lang.RuntimeException: java.io.FileNotFoundException: Library libgthread-2.0 not found at any known locations !
at com.jniwrapper.linux.utils.LinuxLibraryLoader.(LinuxLibraryLoader.java:90)
at com.jniwrapper.gdk.GdkMultithreading.(GdkMultithreading.java:48)
at com.jniwrapper.gdk.GdkMultithreading.getInstance(GdkMultithreading.java:35)
at com.jniwrapper.gtk.GTK.initialize(GTK.java:97)
at com.teamdev.xpcom.a.a.a.a.(Unknown Source)
at com.teamdev.xpcom.XpcMessageLoop.(Unknown Source)
at com.teamdev.xpcom.XpcMessageLoop.getInstance(Unknown Source)
at com.teamdev.xpcom.b$b.run(Unknown Source)
Caused by: java.io.FileNotFoundException: Library libgthread-2.0 not found at any known locations !
... 8 more
Under Ubuntu 11.04 libgthread-2.0 doesn't seems to be present anymore, but libgthread-3.0 is supposed to replace it.
Unfortunalty, soapui doesn't have yet been updated to be used under this last ubuntu version and its last graphical libraries.
To by pass this issue one dirty solution would be:
- Dowload libgthread-2.0 debian package used under Ubuntu 10.10 at: http://91.189.94.219/natty/i386/libglib2.0-0/download
- The package installer would not allow you to install it because a more recent version is available on your distro. To resolve this, extract the deb archive and copy theses 2 files with root priviledges under /usr/lib/ :
- libglib2.0-0_2.28.6-0ubuntu1_i386/usr/lib/i386-linux-gnu/libgthread-2.0.so.0 - libglib2.0-0_2.28.6-0ubuntu1_i386/usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
If necessary you'll have to do update your database:
sudo updatedb
Then soapui 3.6.1 should start without freezing at all and wihtout the boggus error message above.
Of course, if you have better suggestion, please let me know!
Cheers!