Forum Discussion

elpilli's avatar
13 years ago

FileNotFoundException with soapUI 4.0.0

Hi.

When i try run to soapUI 4.0.0 i get this error:

================================
=
= SOAPUI_HOME = /home/angel/Aplicaciones/soapui-4.0.0
=
================================
Configuring log4j from [/home/angel/Aplicaciones/soapui-4.0.0/bin/soapui-log4j.xml]
20:15:40,160 INFO [DefaultSoapUICore] initialized soapui-settings from [/home/angel/Aplicaciones/soapui-4.0.0/soapui-settings.xml]
20:15:41,830 INFO [SoapUI] Used java version: 1.6.0_26
Exception in thread "XpcMessageLoop" java.lang.ExceptionInInitializerError
at com.teamdev.xpcom.a.b.a.a.<init>(Unknown Source)
at com.teamdev.xpcom.XpcMessageLoop.<init>(Unknown Source)
at com.teamdev.xpcom.XpcMessageLoop.getInstance(Unknown Source)
at com.teamdev.xpcom.b$a.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: Library libgtk-x11-2.0 not found at any known locations !
at com.jniwrapper.linux.utils.LinuxLibraryLoader.<init>(LinuxLibraryLoader.java:90)
at com.jniwrapper.gtk.GtkLib.<init>(GtkLib.java:25)
at com.jniwrapper.gtk.GtkLib.getFunction(GtkLib.java:41)
at com.jniwrapper.gtk.GTK.<clinit>(GTK.java:45)
... 4 more
Caused by: java.io.FileNotFoundException: Library libgtk-x11-2.0 not found at any known locations !
... 8 more

I have a Linux 64 bits (Archlinux) computer and i have /usr/lib/libgtk-x11-2.0.so and /usr/lib32/libgtk-x11-2.0.so libraries.
How can I fix this error?

Thanks and best regards.

2 Replies

  • I have the same problem: debian unstable amd64
    The libraries:
    /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so
    /usr/lib32/libgtk/libgtk-x11-2.0.so.0
    /usr/lib/libgtk-3/libgtk-3.so.0

    with 4.0-beta1 i had no problem !
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    This is due to problems with running the jxbrowser, used by soapUI, on some Linux plattforms such as Arch Linux 64-bit.
    We have put an issue regarding this problem in our backlog [SOAPUI-2730] and will take a look at it as soon as possible.
    In the meanwhile, you could try to disable the jxbrowser module by editing the soapui.sh script at $SOAPUI_HOME/bin/soapui.sh and uncomment line 123:

    #uncomment to disable browser component
    JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true"


    Hopes this helps!

    --
    Regards
    Erik
    SmartBear Sweden