d6y / jchav

JChav is a way to see the change in performance of your web application over time, by running a benchmark test for each build you produce.
http://jchav.blogspot.com/
3 stars 0 forks source link

GTK Error on server #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I want to "execute" Jchav ant command from a server (so only shell), but
server give me this error:
run-jchav:
    [jchav] log4j:WARN No appenders could be found for logger
(com.googlecode.jchav.jmeter.JMeterXMLSaxHandler).
    [jchav] log4j:WARN Please initialize the log4j system properly.

(.:3977): Gtk-WARNING **: cannot open display: 

Original issue reported on code.google.com by Ethern...@gmail.com on 6 Jul 2009 at 9:18

GoogleCodeExporter commented 9 years ago
It sounds like  you need to set the -Djava.awt.headless=true property, however 
on the headless machines we're 
tested against we've not needed to do this.

Do you need to set $DISPLAY in your shell or enable permissions (xhost +)? 

Original comment by dalla...@gmail.com on 10 Jul 2009 at 3:14

GoogleCodeExporter commented 9 years ago
sorry I forgive to tell you that I solve my problems with

xhost +IPwithDisplay 

and export of DISPLAY.

Original comment by Ethern...@gmail.com on 10 Jul 2009 at 3:21

GoogleCodeExporter commented 9 years ago
Great - thank you for letting us know.

Original comment by dalla...@gmail.com on 10 Jul 2009 at 3:25