Forum Discussion

Marco_A__Bardol's avatar
Marco_A__Bardol
New Contributor
13 years ago

[Resolved] soapUI with X11 Forwarding

Hello,

we've installed soapUI Pro on a centralized Linux Server and are using it from a local workstation through X11 Forwarding.
This works fine as long as the user is logged into the server system locally through XDM/GDM before he tries to connect through ssh. If the user is not logged in through the graphical interface, soapUI doesn't start and shows the following error:


(process:4110): GLib-GObject-CRITICAL **: gtype.c:2240: initialization assertion failed, use IA__g_type_init() prior to this function
(process:4110): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
(process:4110): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00520b0e, pid=4110, tid=3023760272
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) Client VM (17.0-b16 mixed mode, sharing linux-x86 )
# Problematic frame:
# C [libgconf-2.so.4+0x1fb0e]
#
# An error report file with more information is saved as:
# eviware/soapUI-Pro-3.6.1/bin/hs_err_pid4110.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
eviware/soapUI-Pro-3.6.1/bin/soapUI-Pro-3.6.1: line 351: 4110 Aborted "$app_java_home/bin/java" -Dinstall4j.jvmDir="$app_java_home" -Dexe4j.moduleName="$prg_dir/$progname" "$vmov_1" "$vmov_2" "$vmov_3" "$vmov_4" "$vmov_5" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" com.install4j.runtime.Launcher launch com.eviware.soapui.SoapUIPro true false "$prg_dir/error.log" "" true true false "s_1ogcp0s.bmp" true true 0 0 "" 20 20 "Arial" "0,0,0" 8 500 "" 20 40 "Arial" "0,0,0" 8 500 -1 "$@"


My guess is, that during the local login some variables are being set that are required for soapUI to work. So I'm wondering what those variables are and how I could set them from the console?
Any help would be really appreciated.

Thx in advance.

4 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    this looks like an error happening in the JRE itself before soapUI even gets started; could you download and install the latest JRE from oracle and configure the soapui-pro.sh file to use that instead to see if that helps?

    regards!

    /Ole
    eviware.com
  • Hi Ole,

    thx for your reply.
    I gave the most recent jre a try, but unfortunately without any luck. Again everything is fine as long as the user is logged in prior to the ssh connection. If he's not, the following error occurs:


    ================================
    =
    = SOAPUI_HOME = /home/xxx/eviware/soapUI-Pro-3.6.1
    =
    ================================
    2011-05-02 08:42:14,375 [XpcMessageLoop] INFO com.teamdev.xpcom.a.b.a - XULRunner is already extracted to /home/xxx/.JxBrowser/xulrunner-linux-version-1.9.2/xulrunner-linux

    (process:4426): GLib-GObject-CRITICAL **: gtype.c:2240: initialization assertion failed, use IA__g_type_init() prior to this function

    (process:4426): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

    (process:4426): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGSEGV (0xb) at pc=0x00520b0e, pid=4426, tid=3026529168
    #
    # JRE version: 6.0_25-b06
    # Java VM: Java HotSpot(TM) Client VM (20.0-b11 mixed mode, sharing linux-x86 )
    # Problematic frame:
    # C [libgconf-2.so.4+0x1fb0e] __float128+0x1fb0e
    #
    # An error report file with more information is saved as:
    # /home/xxx/hs_err_pid4426.log
    #
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #
    /home/xxx/eviware/soapUI-Pro-3.6.1/bin/soapui-pro.sh: line 163: 4426 Aborted $JAVA $JAVA_OPTS -cp $SOAPUI_CLASSPATH com.eviware.soapui.SoapUIPro "$@"

    AS you can see
    # JRE version: 6.0_25-b06
    it uses the newest JRE version, but the result didn't really change.

    I don't really think it has to with the jre version because it works just fine if the user is logged in.

    Cheers,

    Frank
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    ok.. try adding the following system property in the soapui-pro.sh file (to the java_opts setting)

    -Dsoapui.jxbrowser.disable=true

    does that help?

    regards,

    /Ole
    eviware.com
  • Hey Ole,

    AWESOME. Now it works even in Runlevel 3, just as we want it to.
    Thx a lot for your support!

    Cheers,

    Frank