Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 18:44:28 +0100
From:      Roberto Nunnari <roberto.nunnari@supsi.ch>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Setting java properties for tomcat5.0
Message-ID:  <420CEEFC.90302@supsi.ch>
In-Reply-To: <20050211161913.GA67712@gravitas.thebunker.net>
References:  <20050211122826.GB61803@gravitas.thebunker.net> <Pine.LNX.4.44.0502111639400.9012-100000@matrix.gatewaynet.com> <20050211161913.GA67712@gravitas.thebunker.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I had to modify daemonctl and Makefile.. not sure I still
have them around.. but it's just 10 minutes work once you
make you're way round.. If I find them I'll send to you.

Best regards.

Matthew Seaman wrote:
> 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
> 


-- 
               Roberto Nunnari -software engineer-
                mailto:roberto.nunnari@supsi.ch
  Scuola Universitaria Professionale della Svizzera Italiana
              Dipartimento Tecnologie Innovative
                   http://www.dti.supsi.ch
  SUPSI-DTI
  Via Cantonale                        tel: +41-91-6108561
  6928 Manno                 """       fax: +41-91-6108570
  Switzerland               (o o)
=======================oOO==(_)==OOo========================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?420CEEFC.90302>