Setting java properties for tomcat5.0

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Feb 11 08:19:23 PST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20050211/c80be901/attachment.bin


More information about the freebsd-java mailing list