1 Reply Latest reply on Mar 2, 2006 11:20 PM by Scott Stark

    JBoss installer file causing HeadlessException

    jk;l jkl; Expert

      Hi, while trying to install JBoss 4.0.3 (using the installer .jar) on a Linux remote server with no GUI, I got a java.awt.HeadlessException. After some brief research, I decided to try setting java.awt.headless=true. But same problem...see below. I could try to use the non-jar JBoss files for installation, but I'd really like to know why this won't work.

      Thanks.


      java -Djava.awt.headless=true -jar jboss-4.0.3SP1-installer.jar
      PackageListener, install.log=/var/ftp/pub/upload/install.log
      - Error -
      java.awt.HeadlessException
      java.awt.HeadlessException
      at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
      at java.awt.Window.(Window.java:317)
      at java.awt.Frame.(Frame.java:419)
      at java.awt.Frame.(Frame.java:384)
      at javax.swing.JFrame.(JFrame.java:150)
      at com.izforge.izpack.installer.GUIInstaller.loadLangPack(GUIInstaller.java:179)
      at com.izforge.izpack.installer.GUIInstaller.(GUIInstaller.java:114)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at java.lang.Class.newInstance0(Class.java:350)
      at java.lang.Class.newInstance(Class.java:303)
      at com.izforge.izpack.installer.Installer.main(Installer.java:53)