varamfer / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

rrds charts will raise an error #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
by calling:

http://10.100.1.102:8080/rrdchart.png?items=SNMP_WoZi_Temperatur&period=D

i get this error:

Problem accessing /rrdchart.png. Reason:

    Could not initialize class sun.awt.X11GraphicsEnvironment? 

is see that it has something to do with the X11GraphicsEnvironment? .... but 
i´am running openhab on a server without any x-server, what is needed to 
generate the charts ?

please add:
-Djava.awt.headless=true 

to the start scripts 

Original issue reported on code.google.com by openhab.lb on 4 May 2012 at 9:25

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 4 May 2012 at 9:27

GoogleCodeExporter commented 8 years ago
Launch parameter has been added.
http://code.google.com/p/openhab/source/detail?r=e6116bafa0837fdb901f9dad649c178
e5004c8b9

Original comment by kai.openhab on 5 May 2012 at 9:33