Date: Fri, 23 Jul 2010 19:16:56 GMT From: Mike Jakubik <mike.jakubik@intertainservices.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/148875: [patch] Fix www/tomcat6 rc script Message-ID: <201007231916.o6NJGuev025888@www.freebsd.org> Resent-Message-ID: <201007231920.o6NJK69P030160@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148875 >Category: ports >Synopsis: [patch] Fix www/tomcat6 rc script >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 23 19:20:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Mike Jakubik >Release: 8.1-PRE >Organization: >Environment: FreeBSD illidan.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Tue Jul 20 16:38:39 EDT 2010 root@illidan.local:/usr/obj/usr/src/sys/ILLIDAN amd64 >Description: The current tomcat6 rc startup script does not work with the status command. The command always returns that tomcat is not running. Below is a fix to address the issue. Thanks. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN tomcat6.orig/files/tomcat6.sh.in tomcat6/files/tomcat6.sh.in --- tomcat6.orig/files/tomcat6.sh.in 2010-07-23 15:11:10.000000000 -0400 +++ tomcat6/files/tomcat6.sh.in 2010-07-23 15:11:42.000000000 -0400 @@ -74,6 +74,7 @@ name="tomcat%%TOMCAT_VERSION%%" rcvar=`set_rcvar` pidfile="/var/run/%%APP_SHORTNAME%%.pid" +procname="java" load_rc_config "${name}" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007231916.o6NJGuev025888>