java - Richfaces and Headless mode -
i working on richfaces , seem work on dev machine (windows os). deploying on linux machine,i don't see images comes richfaces components(like sorting images) , throws exception.
java.lang.internalerror: can't connect x11 window server using 'tnsd03748:1.0' value of display variable. @ sun.awt.x11graphicsenvironment.initdisplay(native method) @ sun.awt.x11graphicsenvironment.access$000(x11graphicsenvironment.java:53) @ sun.awt.x11graphicsenvironment$1.run(x11graphicsenvironment.java:142)
which can happen when code tries deal gui on linux/unix environment headless. maybe issue resolved when add -djava.awt.headless=true
.i want know has come across such issue richfaces , there configuration right.?
i'm using richfaces on centos, , haven't had problem. can't check now, guess tomcat has been installed default use headless=true
, give try.
Comments
Post a Comment