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.
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.
Ok, I understand and agree, so I'm going to close this bug.