Date: Mon, 5 Jun 2006 13:38:39 -0400 From: "David Robillard" <david.robillard@gmail.com> To: "Aguiar Magalhaes" <magalhj@yahoo.com.br> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: Tomcat script. Message-ID: <226ae0c60606051038j446676f5qfaccec27bc0ed14c@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
> Hi list,
>
> The tomcat 5.5 script isn't working on free 6. I need
> to make a reboot on the machine to restart the tomcat.
>
> Help me, please.
>
> Aguiar
This is a known issue with the rc.subr(5) file.
Here's the fix:
[drobilla@appollin] logs {513}$ rcsdiff -r1.1 /etc/rc.subr
===================================================================
RCS file: /etc/rc.subr,v
retrieving revision 1.1
diff -r1.1 /etc/rc.subr
3c3,12
< # $Id: rc.subr,v 1.1 2006/04/21 18:25:56 drobilla Exp $
---
> # $Id: rc.subr,v 1.2 2006/04/21 18:32:32 drobilla Exp $
> #
> # Fixed for tomcat55.sh which was not working. See:
> # http://docs.freebsd.org/cgi/getmsg.cgi?fetch=85433+0+archive/2006/freebsd-java/20060219.freebsd-java
> # Bad original line: $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})")'
271c280
< $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})")'
---
> $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})"|"[${_procnamebn}]")'
Regards,
David
--
David Robillard
david.robillard@gmail.com
Montreal: +1 514 966 0122
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?226ae0c60606051038j446676f5qfaccec27bc0ed14c>
