[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-java
Subject:    Re: Setting java properties for tomcat5.0
From:       Matthew Seaman <m.seaman () infracaninophile ! co ! uk>
Date:       2005-02-11 16:19:13
Message-ID: 20050211161913.GA67712 () gravitas ! thebunker ! net
[Download RAW message or body]


On Fri, Feb 11, 2005 at 04:47:25PM +0200, Achilleus Mantzios wrote:
> O Matthew Seaman ?????? ???? Feb 11, 2005 :
> 
> > Dear list,
> > 
> > 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=true' property.
> 
> Why dont you edit
> /usr/local/jakarta-tomcat5.0/bin/catalina.sh
> and put a
> -Djava.awt.headless=true \
> line at the appropriate location.
> 
> Use this catalina.sh instead of tomcat50ctl.
> 

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

-- 
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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic