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/ On Wed, Aug 24, 2011 at 9:19 AM, allan oware <[email protected]> wrote: > Hi! kudos to all GeoNode devs. > > Am running Geonode1.1-beta2 on ubuntu 10.04, problem is that uploaded > layers cant be seen on the > Geonode map viewer(just a blank OSM basemap). The layers are listed on > data, layer search and also on the geoserver side. > Checking the Geoserver logs reveals: > > 2011-08-24 16:02:11,397 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) > at > org.geoserver.wms.map.ImageUtils.prepareTransparency(ImageUtils.java:142) > at > org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:310) > at > org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:208) > at > org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:123) > at org.geoserver.wms.GetMap.run(GetMap.java:461) > at org.geoserver.wms.GetMap.run(GetMap.java:110) > at > org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:352) > at sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > > Is this issue fixable? any help is appreciated. >
