There is no way to specify jvm parameters when starting jakarta-tomcat. Fix: Patch www/jakarta-tomcat5/Makefile and www/jakarta-tomcat4/files/daemonctl.c Now it is possible to specify parameters for jvm in such way: tomcat50ctl start [jvm-arguments] for example: tomcat50ctl start -server -Xmx128m
Responsible Changed From-To: freebsd-ports-bugs->hq I'll handle this as I'm already taking care of other tomcat related PRs. BTW, this port has a maintainer, so please CC him when sending a PR related to Tomcat.
There are plenty of daemonctl related PRs, e.g. PR:59571, PR: 38018 , PR:53790. I'm working on this issue now. Since it would probably affect all version of jakarta-tomcat, I'd like to make a beta patch and post it to freebsd-java first. Kang
> > There are plenty of daemonctl related PRs, e.g. PR:59571, PR: 38018 , PR:53790. > I'm working on this issue now. > Since it would probably affect all version of jakarta-tomcat, > I'd like to make a beta patch and post it to freebsd-java first. > > Kang > Okay, but, please, look at my patch. it's simple and very useful.
The attachment is a new daemonctl for tomcat mainly based on Anton 's patch, also with the fix for PR:ports/38020 . There might be some bugs in that file, while I think it could be better if I post a *draft* version here. Any suggestion is welcome. Kang For the memory of SMTH BBS...
Responsible Changed From-To: hq->freebsd-java Since there are several PRs on the subject, let assign them all to the same person, namely freebsd-java@ I'll still handle them but this should help the Java community to keep informed.
Responsible Changed From-To: freebsd-java->lawrance Handle it.
State Changed From-To: open->closed tomcatctl has been removed. Please use the rc scripts to control tomcat. An rc script was committed to tomcat 4, 4.1, 5, and 5.5 which allows passing JVM arguments via rc.conf variables. Update your tomcat ports, read UPDATING, and refer to the head of the rc scripts for details. Thanks for your submission!