Re: [CONTRIB] ACCEPT: tomcat.diff

2009-05-07 Thread Ralf S. Engelschall
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?
Didn't patching the catalina.sh script no longer work?

   Ralf S. Engelschall
   r...@engelschall.com
   www.engelschall.com

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


Re: [CONTRIB] ACCEPT: tomcat.diff

2009-05-07 Thread PLI
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
r...@engelschall.com
www.engelschall.com
 
 __
 OpenPKG http://openpkg.org
 Developer Communication List   openpkg-dev@openpkg.org

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