Hi!
I am trying to run the Subsonic app on my Debian Lenny server.
I downloaded the 3.4 standalone version.
I set the parametres in the "subsonic.sh" to fit the installation.
I have java-common, sun-java6-bin and sun-java6-jre installed.
I tried to start it on my Ubuntu 8.04 desktop install, using "sudo subsonic.sh".
That worked.
Then I logged as root (su -) and tried to run "subsonic.sh".
I got the same error as on my server.
Neither the server (Lenny) nor the desktop (Hardy) have Tomcat installed.
Is it at all possible to run Subsonic on a server without running the Xwindow server ? I do not need/want the X server running. I am low on resources (CPU, RAM) as is.
Thanks for your help in advance!
Here is the complete error message:
<error>
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
at net.sourceforge.subsonic.booter.Main.<init>(Main.java:27)
at net.sourceforge.subsonic.booter.Main$1.run(Main.java:40)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:203)
at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:480)
at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
... 11 more
</error>