Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 22:09:45 +0100 (MET)
From:      Mipam <mipam@ibb.net>
To:        Kang Liu <cnkang@gmail.com>
Cc:        freebsd-java@freebsd.org
Subject:   RE: tomcat50ctl start arguments
Message-ID:  <Pine.BSO.4.56.0503142201140.387@ux11.ltcm.net>
In-Reply-To: <4235808a.668b564d.48df.7848@mx.gmail.com>
References:  <4235808a.668b564d.48df.7848@mx.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Mar 2005, Kang Liu wrote:

> There are some PR(s) with patches which can solve your problem.
> e.g. http://www.freebsd.org/cgi/query-pr.cgi?pr=75143
> Now, I'm still working on this issue. If there is any good idea, please mail
> me.

Hmm, you're suggesting this:

tomcat50ctl start -server -Xmx128m

and tomcatctl is called from the script in /usr/local/etc/rc.d
However, wouldn't it be more wishful rename 020.jakarta-tomcat50.sh
to tomcat50.sh and have a variable in /etc/rc.conf like:
tomcat50_enable="YES" and
tomcat50_flags="-Xmx512M ...." for example?

and something in tomcat50.sh like:

# PROVIDE: tomcat50
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: FreeBSD shutdown

name="tomcat50"
rcvar=`set_rcvar`

start_precmd="tomcat50_precmd"
etc etc.

This way it'll be more like the freebsd standard rc style.
Of course additional changes in the makefile have to be made to make this 
work?
Bye,

Mipam.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.56.0503142201140.387>