Forum Discussion

Aaron_Siri's avatar
Aaron_Siri
Occasional Contributor
16 years ago

SoapUI 3.0 beta does not start

I'm attempting to run 3.0 beta in Ubuntu LInux with Java version 1.6.0_13-b03.

SoapUI's splash screen comes up followed by the UI but it is frozen.

When I run from the command-line the following error is thrown:

Exception in thread "XpcEventThread" java.lang.UnsatisfiedLinkError: Cannot load native JNIWrapper library (libjniwrap.so).
at com.jniwrapper.Library.loadNativeCode(SourceFile:77)
at com.jniwrapper.Library.loadNativeCode(SourceFile:102)
at com.jniwrapper.Library.ensureNativeCode(SourceFile:112)
at com.jniwrapper.Library.load(SourceFile:121)
at com.jniwrapper.Library.getFunction(SourceFile:256)
at com.jniwrapper.Library.getFunction(SourceFile:274)
at com.teamdev.a.c.e.(SourceFile:19)
at com.teamdev.xpcom.impl.awt.AwtLinuxPlatform$b.runOneIteration(SourceFile:20)
at com.teamdev.xpcom.impl.awt.c.run(SourceFile:82)
at com.teamdev.xpcom.impl.awt.d$a.run(SourceFile:68)
at java.lang.Thread.run(Thread.java:619)

15 Replies

  • All

    Also seeing similar problem on Oracle Linux 5.3 using the 64Bit Sun jdk with the nightly build from June 7th linux binary install. Error follows

    there was a libjniwrap.so file in the bin directory but the app is looking for libjniwrap64.so I tried an alias (symbolic link), adding the directory to LD_LIBRARY_PATH and running ldconfig against the soapui bin directory but no joy

    --- FIRST EXCEPTION ----

    11:31:19,167 INFO  [DefaultSoapUICore] initialized soapui-settings from [/home/rsutton/Downloads/soapui-3.0-beta-1/soapui-settings.xml]
    11:31:19,650 INFO  [WorkspaceImpl] Loading workspace from [/home/rsutton/Downloads/soapui-3.0-beta-1/bin/../../TestPBE-workspace.xml]
    Exception in thread "XpcEventThread" java.lang.UnsatisfiedLinkError: Cannot load native JNIWrapper library (libjniwrap64.so).
            at com.jniwrapper.Library.loadNativeCode(SourceFile:77)
            at com.jniwrapper.Library.loadNativeCode(SourceFile:102)
            at com.jniwrapper.Library.ensureNativeCode(SourceFile:112)
            at com.jniwrapper.Library.load(SourceFile:121)
            at com.jniwrapper.Library.getFunction(SourceFile:256)
            at com.jniwrapper.Library.getFunction(SourceFile:274)
            at com.teamdev.a.c.e.(SourceFile:19)
            at com.teamdev.xpcom.impl.awt.AwtLinuxPlatform$b.runOneIteration(SourceFile:20)
            at com.teamdev.xpcom.impl.awt.c.run(SourceFile:82)
            at com.teamdev.xpcom.impl.awt.d$a.run(SourceFile:68)
            at java.lang.Thread.run(Thread.java:619)

    ----- END FIRST EXCEPTION ---

    Next I googled the library and the download the JNIWRAPPER package and copied the libjniwrap64.so file to the soapui bin dir, rationale was license lists x86_64 as a licensed platform. Got past the above exception but got.

    ------ SECOND EXCEPTION -----

    Configuring log4j from [/home/rsutton/Downloads/soapui-3.0-beta-1/bin/soapui-log4j.xml]
    11:55:48,404 INFO  [DefaultSoapUICore] initialized soapui-settings from [/home/rsutton/Downloads/soapui-3.0-beta-1/soapui-settings.xml]
    11:55:48,961 INFO  [WorkspaceImpl] Loading workspace from [/home/rsutton/Downloads/soapui-3.0-beta-1/bin/../../TestPBE-workspace.xml]
    Checking JNIWrapper license /home/rsutton/Downloads/soapui-3.0-beta-1/bin/jniwrap.lic:
    -- Product name: JNIWrapper
    -- Licensed version: 3.x
    -- Licensed to:
    -- License type: Runtime
    -- Generation date: Apr 9, 2009
    -- Expiration date: NEVER
    -- License info: Not for development
    -- Current date: Jun 7, 2009
    JNIWrapper license valid.
    Exception in thread "XpcEventThread" java.lang.Error: java.lang.UnsatisfiedLinkError: /home/rsutton/Downloads/soapui-3.0-beta-1/xulrunner-linux/libjavaxpcomglue.so: /home/rsutton/Downloads/soapui-3.0-beta-1/xulrunner-linux/libjavaxpcomglue.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
            at com.teamdev.xpcom.Xpcom.a(SourceFile:40)
            at com.teamdev.xpcom.a.run(SourceFile:119)
            at com.teamdev.xpcom.d.run(SourceFile:436)
            at com.teamdev.xpcom.impl.awt.d$a.run(SourceFile:68)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.UnsatisfiedLinkError: /home/rsutton/Downloads/soapui-3.0-beta-1/xulrunner-linux/libjavaxpcomglue.so: /home/rsutton/Downloads/soapui-3.0-beta-1/xulrunner-linux/libjavaxpcomglue.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
            at java.lang.Runtime.load0(Runtime.java:770)
            at java.lang.System.load(System.java:1003)
            at org.mozilla.xpcom.internal.JavaXPCOMMethods.registerJavaXPCOMMethods(JavaXPCOMMethods.java:57)
            at org.mozilla.xpcom.internal.MozillaImpl.initialize(MozillaImpl.java:48)
            at org.mozilla.xpcom.Mozilla.initialize(Mozilla.java:668)
            ... 5 more
  • Aaron_Siri's avatar
    Aaron_Siri
    Occasional Contributor
    I pulled June 8th Linux binary and ran it getting the following error (Ubuntu 9.04, 32bit, Java 1.6.0_13-b03):

    Configuring log4j from [/home/aaron/dev/soapui-3.0-beta-1/bin/soapui-log4j.xml]
    14:30:30,245 INFO  [DefaultSoapUICore] initialized soapui-settings from [/home/aaron/dev/soapui-3.0-beta-1/soapui-settings.xml]
    Checking JNIWrapper license /home/aaron/dev/soapui-3.0-beta-1/bin/jniwrap.lic:
    -- Product name: JNIWrapper
    -- Licensed version: 3.x
    -- Licensed to:
    -- License type: Runtime
    -- Generation date: Apr 9, 2009
    -- Expiration date: NEVER
    -- License info: Not for development
    -- Current date: Jun 9, 2009
    JNIWrapper license valid.
    signal 11 occured at 40280008
    Native function stack data: 00000000,00000000,00000010,00000055,00000002,00000040,74786574,6d74682f
    Exception in thread "XpcEventThread" com.jniwrapper.FunctionExecutionException: 0000000b
    at com.jniwrapper.Function.invokeCFunc(Native Method)
    at com.jniwrapper.FunctionCall.a(SourceFile:126)
    at com.jniwrapper.FunctionCall.call(SourceFile:34)
    at com.jniwrapper.Function.invoke(SourceFile:188)
    at com.jniwrapper.Function.invoke(SourceFile:212)
    at com.teamdev.a.c.e.a(SourceFile:90)
    at com.teamdev.xpcom.impl.awt.AwtLinuxPlatform$b.runOneIteration(SourceFile:22)
    at com.teamdev.xpcom.impl.awt.c.run(SourceFile:82)
    at com.teamdev.xpcom.impl.awt.d$a.run(SourceFile:68)
    at java.lang.Thread.run(Thread.java:619)



    at which point the app hangs.
  • Hi all,

    Sorry about all the inconvenience with linux binary distribution. Apparently some problems may arise with including JXBrowser for linux. Therefore in new beta2 release (and nightly-build before that) we added an option of disabling jxbrowser. All you have to do is edit soapui.sh script and uncomment the line
    JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true"
    In this case you shouldn't have any problems in working with soapui, you just won't be able to see the browser.
    Also we would like some comments on linux installer, did any of you try it yet?

    Regards,

    /Dragica
    eviware.com
  • Aaron_Siri's avatar
    Aaron_Siri
    Occasional Contributor
    Is soapui-3.0-beta-2.sh supposed to be the Linux installer?
  • Aaron_Siri's avatar
    Aaron_Siri
    Occasional Contributor
    The latest version, after making the change to the .sh script, is working much better.

    Thanks,

    -Aaron