On 07/07/2011 17:07, Campbell, Lance wrote: > Small typo. > > 3) Then replace any occurance of "$_RUNJAVA" with exec > "$CATALINA_PROCESS_NAME" . This will allow the process to be named. > > Should have been: > > 3) Then replace any occurance of "$_RUNJAVA" with exec > "$CATALINA_PROCESS_NAME" "$_RUNJAVA" . This will allow the process to be > named. > > Sorry for the error.
Download the source, create a patch and submit it as an enhancement request to the bugzilla instance. If the committers like it it may get committed. p > Thanks, > > Lance > ________________________________________ > From: Campbell, Lance [la...@illinois.edu] > Sent: Thursday, July 07, 2011 11:03 AM > To: dev@tomcat.apache.org > Subject: extreemly simple request to add process name variable to catalina.out > > Tomcat 6 enhancement: > Please consider giving us the ability to change the process name for linux > applications. I have identified all of the places I believe this needs to be > done. > > Would you please consider adding the following to the catalina.sh file: > 1) In the variable section at the top please add: > > CATALINA_PROCESS_NAME (Optional) This variable will set the linux process > name to a particular value. > > 2) There needs to be an if statement that checks to see if a value has been > passed to CATALINA_PROCESS_NAME. If there has been then the string "-a " > needs to be appended to the front of the value. If not then the value would > be "". > > 3) Then replace any occurance of "$_RUNJAVA" with exec > "$CATALINA_PROCESS_NAME" . This will allow the process to be named. > > Thanks for considering this change, > > Lance Campbell > Software Architect > University of Illinois > Web Services at Public Affairs > 217-333-0382 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org >
signature.asc
Description: OpenPGP digital signature