14 years ago
Can SoapUI be installed on a headless linux server?
Host server: Ubuntu 11.04
Client (remote): Ubuntu 11.10
So, two main questions:
1) can SoapUI be installed at all on a 'headless' linux server? (i.e., used via a command line interface?)
2) if a display is required, does anyone know how to set up & export a display from the headless server to a remote box?
Here's the background:
Trying to install SoapUI on a headless server hosted in 'the cloud' ... I've installed java and x11 but can't seem to get the xserver to run, and the soapui setup script ($SOAPUI_HOME/bin/soapui.sh) fails (exits with errors).
I was hoping I could install X11 and export the display to my remote box ... I installed 'xorg' which seemed to run fine, then I set display with "export DISPLAY=[ip addy]:0.0" but I'm not getting any joy ...
error message from soapui.sh:
Failed to create icon: java.lang.InternalError: Can't connect to X11 window server using '0.0' as the value of the DISPLAY variable.
Configuring log4j from [/home/ubuntu/soapui-4.0.1/bin/soapui-log4j.xml]
22:48:14,424 INFO [DefaultSoapUICore] initialized soapui-settings from [/home/ubuntu/soapui-4.0.1/soapui-settings.xml]
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at java.awt.Window.init(Window.java:380)
at java.awt.Window.<init>(Window.java:433)
at java.awt.Frame.<init>(Frame.java:403)
at javax.swing.JFrame.<init>(JFrame.java:202)
at com.eviware.soapui.SoapUI.startSoapUI(SoapUI.java:748)
at com.eviware.soapui.SoapUI$SoapUIRunner.run(SoapUI.java:634)
at com.eviware.soapui.SoapUI.main(SoapUI.java:733)
--------
any advice would be welcome ...
Client (remote): Ubuntu 11.10
So, two main questions:
1) can SoapUI be installed at all on a 'headless' linux server? (i.e., used via a command line interface?)
2) if a display is required, does anyone know how to set up & export a display from the headless server to a remote box?
Here's the background:
Trying to install SoapUI on a headless server hosted in 'the cloud' ... I've installed java and x11 but can't seem to get the xserver to run, and the soapui setup script ($SOAPUI_HOME/bin/soapui.sh) fails (exits with errors).
I was hoping I could install X11 and export the display to my remote box ... I installed 'xorg' which seemed to run fine, then I set display with "export DISPLAY=[ip addy]:0.0" but I'm not getting any joy ...
error message from soapui.sh:
Failed to create icon: java.lang.InternalError: Can't connect to X11 window server using '0.0' as the value of the DISPLAY variable.
Configuring log4j from [/home/ubuntu/soapui-4.0.1/bin/soapui-log4j.xml]
22:48:14,424 INFO [DefaultSoapUICore] initialized soapui-settings from [/home/ubuntu/soapui-4.0.1/soapui-settings.xml]
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at java.awt.Window.init(Window.java:380)
at java.awt.Window.<init>(Window.java:433)
at java.awt.Frame.<init>(Frame.java:403)
at javax.swing.JFrame.<init>(JFrame.java:202)
at com.eviware.soapui.SoapUI.startSoapUI(SoapUI.java:748)
at com.eviware.soapui.SoapUI$SoapUIRunner.run(SoapUI.java:634)
at com.eviware.soapui.SoapUI.main(SoapUI.java:733)
--------
any advice would be welcome ...