2 Replies Latest reply on Jul 3, 2006 4:53 AM by VisolveGroup

    JBoss installation problem in ubuntu??

    Aku Ankka Newbie

      I try to install JBoss from the JAR package in Ubuntu 6.06, but I always get this kind of error message:

      PackageListener, install.log=/home/jasurakk/Desktop/Download/install.log
      - Error -
      java.awt.HeadlessException:
      No X11 DISPLAY variable was set, but this program performed an operation which requires it.
      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: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)

      What's the problem??

        • 1. Re: JBoss installation problem in ubuntu??
          Aku Ankka Newbie

          After a loo-oong time of reading documentation and surfing web, I think that the problem has something to do with the fact that I'm running the installation from the console, but the installation set seems to need GUI. I'm I wrong or not?

          So now the question is: how can I install JBoss 4.0.4 from the command line, without any GUI??

          • 2. Re: JBoss installation problem in ubuntu??
            VisolveGroup Novice

            Hello,

            JBoss 4.0.4 can be installed by two ways.

            1.Installation using installer.jar file by jboss-4.0.4.GA-Patch1-installer.jar.
            2.Simply extract the binary jboss-4.0.4.GA.zip file.

            For your First mail regarding installation using JAR package,

            No X11 DISPLAY variable was set, but this program performed an operation which requires it.
            java.awt.HeadlessException:
            No X11 DISPLAY variable was set, but this program performed an operation which requires it.


            The solution may be solved by setting the Environment variable DISPLAY to your Desktop System IP Address and also the X11 Window Xmanager should run.

            If you are using unix flavour the following command will be useful.

            #export DISPLAY=<ur system IP Address>:0


            For your second question,
            how can I install JBoss 4.0.4 from the command line, without any GUI??


            Download the binary version of jboss(jboss-4.0.4.GA.zip) and simply extract that file in the location as per your wish, it creates the folder named "jboss-4.0.4.GA" and it installs the jboss successfully.