Date: Wed, 15 Jan 2003 09:42:34 +0100 From: Fredrick Nilsson <fredrick.nilsson@framfab.se> To: freebsd-java@freebsd.org Subject: tomcat - java.awt - headless Message-ID: <CB1D80DAEB179D4C9A73C648F3C2B557027600@sestoex02.framfab.se>
next in thread | raw e-mail | index | archive | help
hi,
im trying to use java.awt and javax.swing classes in tomcat that runs on a
"X-less" server. I think that i have tried all possible ways to accomplish
this, but none works.
this is what i have tested.
enviroment variables:
both JAVA_OPTS and CATALINA_OPTS set to -Djava.awt.headless=true (tested
both individually and together)
code:
System.setProperty("java.awt.headless", "true");
none of these methods works 100%, during my tests, it works from time to
time, but i cant recreate so that it will work allways. is there anybody
else that have had the same problems, and if then, what was the solution?
.f
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB1D80DAEB179D4C9A73C648F3C2B557027600>
