From owner-freebsd-java@FreeBSD.ORG Tue Mar 30 11:39:17 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 9121D16A4CE for ; Tue, 30 Mar 2004 11:39:17 -0800 (PST) Received: from smtp13.wxs.nl (smtp13.wxs.nl [195.121.6.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DCD443D1F for ; Tue, 30 Mar 2004 11:39:17 -0800 (PST) (envelope-from ronald-freebsd6@klop.yi.org) Received: from ronald.echteman.nl ([81.205.197.210])2002)) freebsd-java@freebsd.org; Tue, 30 Mar 2004 22:37:06 +0200 (CEST) Received: (qmail 26195 invoked from network); Tue, 30 Mar 2004 19:39:15 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Tue, 30 Mar 2004 19:39:15 +0000 Received: (qmail 1415 invoked from network); Tue, 30 Mar 2004 18:39:04 +0000 Received: from unknown (HELO henk.thuis.klop.ws) (192.168.0.1) by 192.168.0.13 with SMTP; Tue, 30 Mar 2004 18:39:04 +0000 Received: (qmail 760 invoked from network); Tue, 30 Mar 2004 18:38:57 +0000 Received: from localhost.thuis.klop.ws (HELO henk.thuis.klop.ws) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Tue, 30 Mar 2004 18:38:57 +0000 Date: Tue, 30 Mar 2004 20:38:56 +0200 From: Ronald Klop In-reply-to: <20040330123932.R1592@lizacnet.demon.co.uk> To: Mark Dixon , freebsd-java@freebsd.org, freebsd-ports@freebsd.org Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1 Content-transfer-encoding: 7BIT User-Agent: Opera7.23/FreeBSD M2 build 518 References: <20040330123932.R1592@lizacnet.demon.co.uk> 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 19:39:17 -0000 On Tue, 30 Mar 2004 12:42:53 +0100 (BST), Mark Dixon wrote: > Hi, > > 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=true set? > > If nobody can think of a disadvantage to this, I'll work on a patch that > makes it an tuneable in the makefiles with an eye to making it a default > option at a later date. You can make it a tuneable, but I do run Tomcat with Xvfb (X virtual framebuffer) to generate images from a servlet. I think ports shouldn't do everything. There is also a responsibilty of the user/developer to understand how things work. But than again... a tuneable never hurts. Greetings, Ronald. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/