Forum Discussion

keerthi's avatar
keerthi
Occasional Contributor
5 years ago

SOAPUI 5.5.0 installation issue

Hi Team,

Good Day.

We tried to install soapui via command line path but when executing the command ./soapui.sh we are facing issue and the error is as below:-

 

[linux@abc bin]$ ./soapui.sh
================================
=
= SOAPUI_HOME = /home/linux/SmartBear/SoapUI-5.5.0
=
================================
Configuring log4j from [/home/linux/SmartBear/SoapUI-5.5.0/bin/soapui-log4j.xml]
05:14:29,025 INFO [DefaultSoapUICore] Creating new settings at [/home/linux/soapui-settings.xml]
05:14:29,675 INFO [PluginManager] 0 plugins loaded in 1 ms
05:14:29,676 INFO [DefaultSoapUICore] All plugins loaded
Configuring log4j from [/home/linux/SmartBear/SoapUI-5.5.0/bin/soapui-log4j.xml]
05:14:29,863 INFO [DefaultSoapUICore] Creating new settings at [/home/linux/soapui-settings.xml]
05:14:29,875 INFO [PluginManager] 0 plugins loaded in 0 ms
05:14:29,875 INFO [DefaultSoapUICore] All plugins loaded
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.<init>(Window.java:536)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:233)
at com.eviware.soapui.SoapUI.startSoapUI(SoapUI.java:939)
at com.eviware.soapui.SoapUI$SoapUIRunner.run(SoapUI.java:807)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Checked the java version and its installed. We would like to install the same via command mode. GUI is also not launched. We are using OS RHEL 7.7(Maipo).

Please let me know in case if any more details are required.

nmrao 

  • nmrao's avatar
    nmrao
    Champion Level 3
    This is environment issue. Error says it all. "java.awt.HeadlessException: No X11 DISPLAY variable was set".
    Please set DISPLAY environment variable appropriately.
    • keerthi's avatar
      keerthi
      Occasional Contributor

      Can you please let me know how to set the variable aacrdingly..

      • nmrao's avatar
        nmrao
        Champion Level 3
        Please search on the net, you would get better results.