From owner-freebsd-java@FreeBSD.ORG Wed Mar 31 01:10:11 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2FAC16A4CE; Wed, 31 Mar 2004 01:10:11 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51C8043D4C; Wed, 31 Mar 2004 01:10:11 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Wed, 31 Mar 2004 10:08:44 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 1B8bfR-0001Wf-00; Wed, 31 Mar 2004 10:05:49 +0100 Date: Wed, 31 Mar 2004 10:05:49 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= In-Reply-To: Message-ID: References: <20040330123932.R1592@lizacnet.demon.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: Jan Grant cc: Mark Dixon cc: freebsd-ports@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: tomcat, JBoss etc. Should be headless? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 09:10:11 -0000 On Tue, 30 Mar 2004, Dag-Erling Sm=F8rgrav wrote: [on -Djava.awt.headless=3Dtrue ] DES > What exactly would be the point? JG > The AWT canvas & related classes are (supposedly) available for the JG > dynamic generation of graphics, without needing an X server somewhere. > > In that case, isn't the onus on the application developer to make sure > at runtime that awt knows to run headless? Replace "developer" with "deployer" and the answer is "yes", certainly. The headless support in 1.4 is much improved over previous versions - I don't know if the colour manipulation problems that another poster referred to are still present, but in the face of such glitches the person responsible for rolling out the app has to make an appropriate choice between Xvfb and headless, I suppose. If those problems are not still present, this suggestion seems harmless and potentially mildly beneficial. --=20 jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ ioctl(2): probably the coolest Unix system call in the world