From owner-freebsd-java@FreeBSD.ORG Fri Feb 11 16:19:23 2005 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 19FD216A4CE for ; Fri, 11 Feb 2005 16:19:23 +0000 (GMT) Received: from male.aldigital.co.uk (male.thebunker.net [213.129.64.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id A10F943D31 for ; Fri, 11 Feb 2005 16:19:22 +0000 (GMT) (envelope-from matthew@thebunker.net) Received: from gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by male.aldigital.co.uk (Postfix) with ESMTP id 287D097704; Fri, 11 Feb 2005 16:19:21 +0000 (GMT) Received: from gravitas.thebunker.net (localhost [127.0.0.1]) j1BGJDSA067749; Fri, 11 Feb 2005 16:19:13 GMT (envelope-from matthew@gravitas.thebunker.net) Received: (from matthew@localhost) by gravitas.thebunker.net (8.13.1/8.13.1/Submit) id j1BGJDxQ067748; Fri, 11 Feb 2005 16:19:13 GMT (envelope-from matthew) Date: Fri, 11 Feb 2005 16:19:13 +0000 From: Matthew Seaman To: Achilleus Mantzios Message-ID: <20050211161913.GA67712@gravitas.thebunker.net> Mail-Followup-To: Achilleus Mantzios , freebsd-java@freebsd.org References: <20050211122826.GB61803@gravitas.thebunker.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.7i cc: freebsd-java@freebsd.org Subject: Re: Setting java properties for tomcat5.0 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: Fri, 11 Feb 2005 16:19:23 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 11, 2005 at 04:47:25PM +0200, Achilleus Mantzios wrote: > O Matthew Seaman ?????? ???? Feb 11, 2005 : >=20 > > Dear list, > >=20 > > I've got a standard installation of the www/jakarta-tomcat5 port, > > which is working pretty well. However I need to start tomcat > > including setting the 'java.awt.headless=3Dtrue' property. >=20 > Why dont you edit > /usr/local/jakarta-tomcat5.0/bin/catalina.sh > and put a > -Djava.awt.headless=3Dtrue \ > line at the appropriate location. >=20 > Use this catalina.sh instead of tomcat50ctl. >=20 That's certainly a possibility, but it means you need root access in order to bounce the tomcat server (ie. because the rc.d script will use su(1) to change the tomcat process to running as user www:www) If I can avoid that necessity it would be good. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iQCVAwUBQgzbAZr7OpndfbmCAQJA/wP/Y9nZM8p1alqXwD16eDh2pd0100v6K80N WCjysToSZyBNtGsYy2PqwkhhNH+ra0NdaSFkGu3uoAvlEfXI0pvn0dMJYCfv1FOP MzYp52TYcNxnKjeBcWp8TCpAf6aAKGVwXzUcOjIKr1K9WZo881iw02iUv+yY7Uc5 3YHkQsv791A= =276t -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--