Date: Wed, 31 Mar 2004 00:37:42 +0200 From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) To: Mark Dixon <mark@markdnet.demon.co.uk> Cc: freebsd-java@freebsd.org Subject: Re: tomcat, JBoss etc. Should be headless? Message-ID: <xzp65cmq7ux.fsf@dwp.des.no> In-Reply-To: <200403302316.25052.mark@markdnet.demon.co.uk> (Mark Dixon's message of "Tue, 30 Mar 2004 23:16:19 %2B0100") References: <20040330123932.R1592@lizacnet.demon.co.uk> <Pine.GSO.4.58.0403301821270.19442@mail.ilrt.bris.ac.uk> <xzpy8pi2py5.fsf@dwp.des.no> <200403302316.25052.mark@markdnet.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Dixon <mark@markdnet.demon.co.uk> writes: > In the current situation, taking tomcat as an example, the JVM > starts up with daemonctl from /usr/local/etc/rc.d into an > environment with no X server, provided there's been no editing of > the scripts. Any attempt to use the graphics libraries in any > servlet will result in the servlet falling over with an AWTError. That is IMHO a bug in the servlet, which is easily fixed by adding the following line in the appropriate place: System.setProperty("java.awt.headless", "true"); DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp65cmq7ux.fsf>