Re: [geonode] Geoserver error
- From:
- Simone Dalmasso
- Date:
- 2011-08-24 @ 14:09
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 <lumtegis@gmail.com>
> 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 <dwinslow@opengeo.org>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
Re: [geonode] Geoserver error
- From:
- allan oware
- Date:
- 2011-08-24 @ 14:23
I installed Geonode1.1-beta2 on a centrino duo laptop with Ubuntu 10.04,
followed deploying in ubuntu 10.04 instructions.
No virtual machine.
my ram size is 1.5GB.
On Wed, Aug 24, 2011 at 5:09 PM, Simone Dalmasso <
simone.dalmasso@ithaca.polito.it> wrote:
>
> 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
>
>
>
Re: [geonode] Geoserver error
- From:
- Simone Dalmasso
- Date:
- 2011-08-24 @ 15:16
Ok,
seems that java don't recognize your display.
You can try to create a virtual framebuffer and see what happens.
This worked for me as a temporary workaround.
Try:
- Xvfb :1 -screen 1 1024x768x16 &
- export DISPLAY=:1
and restart tomcat.
Cheers
Simone
2011/8/24 allan oware <lumtegis@gmail.com>
> I installed Geonode1.1-beta2 on a centrino duo laptop with Ubuntu 10.04,
> followed deploying in ubuntu 10.04 instructions.
> No virtual machine.
> my ram size is 1.5GB.
>
>
> On Wed, Aug 24, 2011 at 5:09 PM, Simone Dalmasso <
> simone.dalmasso@ithaca.polito.it> wrote:
>
>>
>> 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
>>
>>
>>
Re: [geonode] Geoserver error
- From:
- Garey Mills
- Date:
- 2011-08-24 @ 15:29
Another thing you could try is to unset the DISPLAY environment variable
in whatever shell you are using when you start GeoNode and Geoserver.
For csh and tcsh the command would be
unsetenv DISPLAY
for bash and sh I think it's
unset DISPLAY
but I'm not so sure.
Garey Mills
Library Systems Office
UC Berkeley
On 8/24/2011 8:16 AM, Simone Dalmasso wrote:
> Ok,
> seems that java don't recognize your display.
>
> You can try to create a virtual framebuffer and see what happens.
> This worked for me as a temporary workaround.
> Try:
>
> - Xvfb :1 -screen 1 1024x768x16 &
> - export DISPLAY=:1
>
> and restart tomcat.
>
> Cheers
>
> Simone
>
> 2011/8/24 allan oware <lumtegis@gmail.com <mailto:lumtegis@gmail.com>>
>
> I installed Geonode1.1-beta2 on a centrino duo laptop with Ubuntu
> 10.04, followed deploying in ubuntu 10.04 instructions.
> No virtual machine.
> my ram size is 1.5GB.
>
>
> On Wed, Aug 24, 2011 at 5:09 PM, Simone Dalmasso
> <simone.dalmasso@ithaca.polito.it
> <mailto:simone.dalmasso@ithaca.polito.it>> wrote:
>
>
> 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
>
>
>
>
>
>
Re: [geonode] Geoserver error
- From:
- allan oware
- Date:
- 2011-08-25 @ 16:23
Thanks everyone for the replies. I think unsetting DISLAY variable might
have
done the trick. works like a charm!
Cheers All.
>
>>>
>
>
>
>