opensubscriber
   Find in this group all groups
 
Unknown more information…

o : openpkg-dev@openpkg.org 8 May 2009 • 1:20AM -0400

Re: [CONTRIB] ACCEPT: tomcat.diff
by PLI

REPLY TO AUTHOR
 
REPLY TO GROUP




Ralf S. Engelschall a écrit :
> On Wed, May 06, 2009, PLI wrote:
>
>> This latest patch relocate log and temp directory to %{l_prefix}/var/tomcat
>
> Why symlinks instead of the previous reconfiguration?

Previously, libexec/tomcat/logs was not a symlink.

So when tomcat start, it generates lots of logs like catalina*.log and
manager*.log and admin*.log
In the wrong directory 'libexec', instead of var/tomcat/log


> Didn't patching the catalina.sh script no longer work?

When catalina.sh start, by default, CATALINA_BASE, is used as working
directory for temp and logs.

With symlink, no patch is needed anymore
We can stick to the original source without modification.

>
>                                        Ralf S. Engelschall
>                                        rse@enge...
>                                        www.engelschall.com
>
> ______________________________________________________________________
> OpenPKG                                             http://openpkg.org
> Developer Communication List                   openpkg-dev@open...

______________________________________________________________________
OpenPKG                                             http://openpkg.org
Developer Communication List                   openpkg-dev@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.