Forum Discussion

larryx's avatar
larryx
Frequent Contributor
11 years ago

launch sopaui from Linux

Hello,
I have installed soapui/jre into Linux VM. After set DISPLAY variable and run soapui, I got the below error.
...]$ bin/soapui.sh
================================
=
= SOAPUI_HOME = /usr/local/home/.../SoapUI-4.6.4
=
================================
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)

Can anybody Help me!!
Thanks,
Larry

9 Replies

  • larryx's avatar
    larryx
    Frequent Contributor
    Hi Giscard,
    Thanks a lot for the valuable link info. I installed/config/ran X Server (Xming) and could launch Soapui GUI window popup. However, the GUI only showed up for a second and disappeared. The below is error message from putty screen:

    $ echo $DISPLAY
    10.162.189.67:0.0
    [wls1@uxvnwg001a2209 SoapUI-4.6.4]$ bin/soapui.sh
    ================================
    =
    = SOAPUI_HOME = /usr/local/home/wls1/tools/SoapUI-4.6.4
    =
    ================================
    Configuring log4j from [/usr/local/home/.../SoapUI-4.6.4/bin/soapui-log4j.xml]
    14:10:47,333 INFO [DefaultSoapUICore] initialized soapui-settings from [/usr/local/home/.../SoapUI-4.6.4/soapui-settings.xml]
    14:10:50,854 INFO [SoapUI] Used java version: 1.7.0_45
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

    (<unknown>:26325): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGSEGV (0xb) at pc=0x00007fa6fb716918, pid=26325, tid=140355303372544
    #
    # JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
    ... ...

    Please Help!
    Thanks,
    Larry
  • larryx's avatar
    larryx
    Frequent Contributor
    Macus,

    Thanks for the suggestion. This problem drives me nuts.
    'Font' issue is just a warning, I guess it is 'java crash'. I m posting the whole message as below:
    ===============================================================
    [wls1@uxvnwg001a2209 SoapUI-4.6.4]$ bin/soapui.sh
    ================================
    =
    = SOAPUI_HOME = /usr/local/home/wls1/tools/SoapUI-4.6.4
    =
    ================================
    Configuring log4j from [/usr/local/home/wls1/tools/SoapUI-4.6.4/bin/soapui-log4j.xml]
    10:40:13,111 INFO [DefaultSoapUICore] initialized soapui-settings from [/usr/local/home/wls1/tools/SoapUI-4.6.4/soapui-settings.xml]
    10:40:14,693 INFO [SoapUI] Used java version: 1.7.0_45
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

    (<unknown>:23147): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGSEGV (0xb) at pc=0x00007fc183716918, pid=23147, tid=140470162519808
    #
    # JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C [libxul.so+0xcb1918] gfxPlatform::GetDPI()+0x1aa
    #
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #
    # An error report file with more information is saved as:
    # /... .../SoapUI-4.6.4/bin/hs_err_pid23147.log
    #
    # If you would like to submit a bug report, please visit:
    # http://bugreport.sun.com/bugreport/crash.jsp
    #
    bin/soapui.sh: line 70: 23147 Aborted java $JAVA_OPTS -cp $SOAPUI_CLASSPATH com.eviware.soapui.SoapUI "$@"

    Please take a look and help!
    Thanks,
    -Larry
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Can you please send the error log, you can find it /... .../SoapUI-4.6.4/bin/hs_err_pid23147.log.

    Regards,
    Temil
  • larryx's avatar
    larryx
    Frequent Contributor
    Jeshtha,
    Is there any alternative solution? I already have SoapUI Pro installed in windows and try to use open source version in Linux due to license limit. I google searched and found it might be jre/jdk 1.7 bug. So I point JAVA_HOME to 1.6 and got the different error (attached).
    Thanks,
    Larry
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Larry,

    Since you cannot upgrade, I would suggest you to point to JRE 1.7 as the old JRE is not supported by Java.
    Open the vmoptions file in the installation bin folder,
    Add,
    -Dsoapui.jxbrowser.disable=true
    Close and open SoapUI Pro. Make sure you are the root user.

    Thanks,
    Jeshtha