[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Tomcat 3.3 / 4.0 ? When?



>On Wed, Nov 28, 2001 at 04:15:59PM +0100, GOMEZ Henri wrote:
>
>> Did you take a look at my RPM for TC 3.3 and 4.0 ?
>
>To be honest, no. I think there are quite some differences between
>the .deb and .rpm, e.g. I'll stick with TOMCAT_HOME=/usr/share/tomcat
>and symlinks there:

In tomcat 4.0 everything live under /var/tomcat4, but on my 
Tomcat 3.3 rpm, I follow FHS by moving dirs in correct location.
You should really take a look at my spec file and patchs to
make Tomcat FHS compliant :)


>sgybas:/usr/share/tomcat$ ls -l
>total 16
>drwxr-xr-x    2 root     root         4096 Nov 27 18:32 bin
>lrwxrwxrwx    1 root     root           11 Nov 27 18:32 conf 
>-> /etc/tomcat
>lrwxrwxrwx    1 root     root           13 Nov 27 18:32 doc -> 
>../doc/tomcat
>drwxr-xr-x    2 root     root         4096 Nov 27 18:32 examples
>drwxr-xr-x    5 root     root         4096 Nov 27 18:32 lib
>lrwxrwxrwx    1 root     root           15 Nov 27 18:32 logs 
>-> /var/log/tomcat
>drwxr-xr-x    2 root     root         4096 Nov 27 18:32 modules
>lrwxrwxrwx    1 www-data www-data       23 Nov 27 18:32 
>webapps -> /var/lib/tomcat/webapps
>lrwxrwxrwx    1 root     root           17 Nov 27 18:32 work 
>-> /var/cache/tomcat
>
>However, I might include some of your bin/tomcat.sh changes into the
>Debian package, but currently only startimng/stopping usin 
>/etc/init.d/tomcat
>is supported by the package.

Note also that I use a tomcat user to make tomcat run, for 
security reasons :)



Reply to: