Forum Discussion

LeslieW's avatar
14 years ago

SoapUI 4.0.1 Fails on Linux using 64 Bit JDK

Does SoapUI (and SoapUI Pro) work on Linux with a 64 bit JDK? When I try to use the binary install, I get an error when it tries to run - it aborts. When I try to run the Shell script install, it tells met there is an incompatibility between 64 and 32 bit.

I have been running 3.5.1 both Free and Pro versions with 64 bit JDK on Ubuntu Linux. But 4.0.1 appears to not work....

2 Replies

  • Hi!

    Yes, it is possible to run soapUI Pro on Linux 64-bit.
    You have an external JRE configured and then download the non JRE bundled install.
    This is the one for 4.0.2-SNAPSHOT: http://www.eviware.com/nightly-builds/soapui-pro/4.0.2-SNAPSHOT/soapui-pro-4.0.2-SNAPSHOT-linux-bin.zip

    If you are getting a message such as
    Running a 32-bit JVM is not supported on this platform.

    go to line 130 of the $SOAPUI_HOME/bin/soapui-pro.sh script and comment out that line:
    #   JAVA_OPTS="$JAVA_OPTS -d32"


    We have put an issue in or backlog about not enforcing 32-bit architecture for the Linux dist [SOAPUI-2668] and will have a look at it as soon as possible.

    Hopes this helps!

    --
    Regards

    Erik
    SmartBear Sweden
  • archenroot's avatar
    archenroot
    Occasional Contributor
    Hi,

    this is one of 3 failures I experienced with 4.0.1 and 4.0.2_SNAPSHOT versions of SoapUI on Ubuntu 11.04. This one workaround fixed me in just starting up the application on JDK 64-bit.

    But there are following issues, which I will provide a link to:
    Something what you can see in app log or in terminal when starting using term
    Message:
    ERROR:org.mozilla.xpcom.XPCOMException: The function "run" returned an error condition  (0x80004005)

    fix might be found at viewtopic.php?f=13&t=7765&p=27165#p27165

    There is also something related to not fixed dependency on old libraries, so this make soapui on new Ubuntu and maybe also other Debian based distributions crashed.
    Message:
     [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


    The fix could be found at http://hirostouch.blogspot.com/2011/05/ ... -1104.html and it completly helped to fix my problem with one difference. My distribution is type of amd64, so I just needed to download and extract libraries to /usr/lib from this link: http://91.189.94.219/natty/amd64/libglib2.0-0/download

    From now soapui 4 and newer are working on my Ubuntu 11.04 AMD64 linux machine just fine.

    Hope this helps.

    Regards,

    Ladislav