Due to various jvms in FreeBSD /usr/local/bin/java is a symlink to the configured one. tomcat55's rc.d script does not take that into account for the stop action and thus will not terminate/restart tomcat55. The attached patch corrects this misbehaviour How-To-Repeat: /usr/local/etc/rc.d/tomcat55 stop will complain the process is not running, even if it is.
Maintainer of www/tomcat55, Please note that PR ports/140829 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/140829 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
ping....
Responsible Changed From-To: freebsd-ports-bugs->stefan Take.
State Changed From-To: feedback->closed Committed, thanks!
stefan 2010-05-06 20:11:33 UTC FreeBSD ports repository Modified files: www/tomcat55 Makefile www/tomcat55/files tomcat55.sh.in Log: Fix stopping the server process via the port's rc.d script. PR: ports/140829 Submitted by: Ruben van Staveren <ruben@verweg.com> Approved by: maintainer timeout (>5 months) Revision Changes Path 1.49 +1 -0 ports/www/tomcat55/Makefile 1.9 +2 -2 ports/www/tomcat55/files/tomcat55.sh.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
I'm running www/tomcat55 on java/jdk16, FreeBSD 8.1-RELEASE. > - procname=`ps -o ucomm= -p $rc_pid` > + procname=`ps -o command= -p $rc_pid | cut -f 1 -d ' '` This change doesn't fit in my environment ("ucomm=" works fine). "ps -o ucomm=" provides "java" "ps -o command=" provides "[java]"