From owner-freebsd-java@FreeBSD.ORG Tue Mar 30 09:31: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 1408C16A4CE; Tue, 30 Mar 2004 09:31: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 8A56E43D2D; Tue, 30 Mar 2004 09:31:10 -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; Tue, 30 Mar 2004 18:30:02 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 1B8MxS-0005or-00; Tue, 30 Mar 2004 18:23:26 +0100 Date: Tue, 30 Mar 2004 18:23:26 +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: Tue, 30 Mar 2004 17:31:11 -0000 On Tue, 30 Mar 2004, Dag-Erling Sm=F8rgrav wrote: > Mark Dixon writes: > > Given that these server type java ports run as daemon processes in the > > backgroundm wouldn't it be wise to start them up with > > -Djava.awt.headless=3Dtrue set? > > What exactly would be the point? The AWT canvas & related classes are (supposedly) available for the dynamic generation of graphics, without needing an X server somewhere. It's a fairly specialist case but I've had to do this for deployed servlets in the past*. jan * Deployed on Solaris in that case, but that's irrelevant here. --=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/ You know something's gone badly wrong when your algorithm takes O(n^2) time but uses O(2^n) space.