Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 81237

Summary: tomcat: move temp, work and logs (and possibly webapps) folders to /var/opt/tomcatX
Product: Gentoo Linux Reporter: Vitaly Harisov <vitaly>
Component: [OLD] ServerAssignee: Jan Brinkmann (RETIRED) <luckyduck>
Status: VERIFIED WONTFIX    
Severity: enhancement CC: java
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vitaly Harisov 2005-02-08 07:48:20 UTC
I suggest:

1) move tomcat's temp and work folders from /opt/tomcatX to /var/opt/tomcatX
   and make symlinks
   /opt/tomcatX/temp -> /var/opt/tomcatX/temp
   /opt/tomcatX/work -> /var/opt/tomcatX/work

2) move /opt/tomcatX/webapps to /var/opt/tomcatX/apps
   and make symlinks
   /opt/tomcatX/webapps -> /var/opt/tomcatX/apps

3) move /opt/tomcatX/logs to /var/opt/tomcatX/logs
   and make symlinks
   /opt/tomcatX/logs -> /var/opt/tomcatX/logs

/opt can be mounted in read-only mode, but this folders contains
variable content.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-02-14 09:09:57 UTC
marking as WONTFIX since the new ebuild which i'm going to create will use another layout as described and suggested by woofy:

http://gentoo-wiki.com/Tomcat_Gentoo_ebuild

thanks for your report, anyways.
Comment 2 Vitaly Harisov 2005-02-14 11:16:41 UTC
Ok, I understand and agree, so I'm going to close this bug.