Bug 75143 - There is no way to specify jvm parameters when starting jakarta-tomcat.
Summary: There is no way to specify jvm parameters when starting jakarta-tomcat.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sam Lawrance
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 10:10 UTC by toha
Modified: 2006-02-07 08:59 UTC (History)
0 users

See Also:


Attachments
file.diff (926 bytes, patch)
2004-12-16 10:10 UTC, toha
no flags Details | Diff
file.diff (2.49 KB, patch)
2004-12-16 10:10 UTC, toha
no flags Details | Diff
daemonctl.c (14.60 KB, text/plain)
2005-03-20 16:07 UTC, Kang Liu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description toha 2004-12-16 10:10:18 UTC
	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
Comment 1 Herve Quiroz freebsd_committer freebsd_triage 2004-12-16 15:57:23 UTC
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.
Comment 2 Kang Liu 2004-12-16 16:54:39 UTC
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
Comment 3 toha 2004-12-17 13:17:56 UTC
>
> 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.
Comment 4 Kang Liu 2005-03-20 16:07:06 UTC
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...
Comment 5 Herve Quiroz freebsd_committer freebsd_triage 2005-04-04 21:09:56 UTC
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.
Comment 6 Sam Lawrance freebsd_committer freebsd_triage 2006-01-26 03:21:00 UTC
Responsible Changed
From-To: freebsd-java->lawrance

Handle it.
Comment 7 Sam Lawrance freebsd_committer freebsd_triage 2006-02-07 08:58:55 UTC
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!