Hello.
After discussing a bit the subject with Henry Gomez, he thought it was best
to bring the discussion here. His current rpm uses /var/tomcat as a base
directory, after propositions coming from this list.
However, actual FHS spec says :
"Applications should generally not add directories to the top level of
/var. Such directories should only be added if they have some system-wide
implication, and in consultation with the FHS mailing list."

>From what i'm seeing on my own system (Mandrake 7.2), general services
(ftp, www, etc) have their own
/var/name dir, while specific applications (postgres, wine, etc...) have
their /var/lib/name dir.

So, what can we do for Tomcat ?

If we think of tomcat as a stand-alone service, then data dirs (work and
webaps) should be in /var/lib/tomcat, conf dir should be /etc/tomcat
(problem : tomcat also writes here...), and log dir /var/log/tomcat.
We can also think of Tomcat as a www-related service, then use /var/www,
/etc/httpd/conf and /var/log/httpd, or with a specific tomcat subdir
/var/www/tomcat, /etc/httpd/conf/tomcat and /var/log/httpd/tomcat. 

Guillaume
-- 
Program results should always be reproducible
                -- Educational Considerations n°5

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to