Yeah but you need a solaris machine with a display to generate the installer script. Basically go through an install on that machine then at the end of the install there is a screen with a button that asks you if you want to create a unmanned installation file. Hit that button and generate the script. Then scp that script to the target headless machine. Then install using the following command:
java -jar apacheds-1.0.1-solaris-i386-setup.jar path/to/the<installer-file-you-created>
Sorry this issue is still around. I was hoping to have a solaris package available but I have not had time to whip one together.
HTH,
Alex
Alex Karasulu wrote:
> http://people.apache.org/~akarasulu/apacheds/candidates/1.0.1/apacheds-1.0.1-solaris-i386-setup.jar
Is there a workaround for this:
bash-3.00# java -jar apacheds-1.0.1-solaris-i386-setup.jar
Java Accessibility Bridge for GNOME loaded.
- 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.<init>(Window.java:317)
at java.awt.Frame.<init>(Frame.java:419)
at
net.sourceforge.mlf.metouia.borders.MetouiaDotsBuffer.<init>(MetouiaDotsBuffer.java :105)
at
net.sourceforge.mlf.metouia.borders.MetouiaDots.<init>(MetouiaDots.java:66)
at
net.sourceforge.mlf.metouia.borders.MetouiaToolBarBorder.<init>(MetouiaToolBarBorder.java:49)
at
net.sourceforge.mlf.metouia.MetouiaLookAndFeel.initComponentDefaults(MetouiaLookAndFeel.java:241)
at
javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:107)
at
javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1392)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:441)
at javax.swing.UIManager.setLookAndFeel(UIManager.java :481)
at
com.izforge.izpack.installer.GUIInstaller.loadLookAndFeel(GUIInstaller.java:346)
at
com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:111)
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:62)
Regards,
Graham
--