atom feed7 messages in org.freebsd.freebsd-javaSetting java properties for tomcat5.0
FromSent OnAttachments
Matthew SeamanFeb 11, 2005 4:28 am 
Achilleus MantziosFeb 11, 2005 6:10 am 
Matthew SeamanFeb 11, 2005 8:19 am 
Brent VernerFeb 11, 2005 8:46 am 
Roberto NunnariFeb 11, 2005 9:45 am 
Roberto NunnariFeb 14, 2005 2:59 am 
Matthew SeamanFeb 14, 2005 9:04 am 
Subject:Setting java properties for tomcat5.0
From:Brent Verner (bre@rcfile.org)
Date:Feb 11, 2005 8:46:24 am
List:org.freebsd.freebsd-java

[2005-02-11 16:19] Matthew Seaman said: | 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.

I felt the same pain, and ended up implementing an alternate daemonctl program that has external configuration file to define env entries (among other things).

http://rcfile.org/daemonctl/ http://svalin.rcfile.org/daemonctl/readme.txt

You can fetch the daemonctl-port-0.2.tar.gz file and copy the port into your ports tree and install it from there.

The tomcat-rc-script.sh can be used to replace the rc script provided by the tomcat50 port.

cheers. Brent