Hi Allan, can we have more details about your machine? Are you running Geonode on a virtual machine?
I'm not sure to be able to help you but some time ago I ran in a similar problem with Debian6 on a pretty old version of VmWare. Thanks Simone 2011/8/24 allan oware <[email protected]> > Am running Geonode on the same install machine (laptop). setting > 'java.awt.headless' property didnt solve the issue. > Geoserver errors are still there: > > 2011-08-24 16:44:14,781 ERROR [geoserver.ows] - > 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.image.BufferedImage.createGraphics(BufferedImage.java:1135) > ..... > 2011-08-24 16:44:14,786 ERROR [geoserver.ows] - > java.lang.InternalError: Can't connect to X11 window server using ':0.0' as > the value of the DISPLAY variable. > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) > at > sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52) > at > sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155) > at java.security.AccessController.doPrivileged(Native Method) > at > sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)...... > 2011-08-24 16:44:14,869 ERROR [geotools.map] - Call MapContent dispose() to > prevent memory leaks > 2011-08-24 16:44:14,869 ERROR [geotools.map] - Call MapContent dispose() to > prevent memory leaks > > > On Wed, Aug 24, 2011 at 4:26 PM, David Winslow <[email protected]>wrote: > >> I guess you are installing GeoNode on a machine with a full desktop >> environment installed, but not running GeoNode in that desktop environment. >> In in this situation, you need to set the 'java.awt.headless' property on >> the JVM - just add "-Djava.awt.headless" to CATALINA_OPTS in your Tomcat >> startup script if you're using Tomcat. >> >> -- >> David Winslow >> OpenGeo - http://opengeo.org/ >> >> > -- Simone Dalmasso, Ph.D. Geomatics Environmental Engineer ITHACA Information Technology for Humanitarian Assistance, Cooperation and Action www.ithacaweb.org Via Pier Carlo Boggio 61 - 10138 Torino Tel: +39.011.1975.1860
