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/
>
>

Reply via email to