[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-java
Subject: Re: Setting java properties for tomcat5.0
From: Achilleus Mantzios <achill () matrix ! gatewaynet ! com>
Date: 2005-02-11 14:10:41
Message-ID: Pine.LNX.4.44.0502111639400.9012-100000 () matrix ! gatewaynet ! com
[Download RAW message or body]
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.
>
> Now, all the instructions I've been able to dig up on the web say 'set
> JAVA_OPTS in the environment', which assumes you're using the
> catalina.sh script bundled with the tomcat sources. By default the
> FreeBSD port uses a setuid binary 'tomcat50ctl' to control startup and
> shutdown of tomcat, and by my reading of the daemonctl.c source code
> (which is what gets compiled into tomcat50ctl) it seems that
> environment variables are not passed through to the java command line,
> and experiment bears out that the effect I want is not generated.
>
> As far as I can tell I need to place this value in a Java .properties
> file somewhere -- the question is: where?
>
> Cheers
>
> Matthew
>
>
--
-Achilleus
_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic