Please make configuration changes to Tomcat on yatei
I need the following configuration changes on yatei:
- Copy PostgreSQL JDBC library to Tomcat's shared library directory:
# cp /srv/metrics.torproject.org/web/lib/postgresql-8.4-702.jdbc3.jar /usr/share/tomcat5.5/common/lib/
- Allow all Tomcat webapps to connect to PostgreSQL by adding the following line to the first grant block in /etc/tomcat5.5/policy.d/04webapps.policy:
permission java.net.SocketPermission "127.0.0.1:5432", "resolve,connect";
- Allow Tomcat's logger to read our logging.properties file by adding the following two lines to the last grant block in /etc/tomcat5.5/policy.d/04webapps.policy that applies to codeBase "file:${catalina.home}/bin/tomcat-juli.jar":
permission java.io.FilePermission "${catalina.base}/webapps/ernie/WEB-INF/classes/logging.properties", "read";
permission java.lang.RuntimePermission "setContextClassLoader";
- Speaking of, please give me read access to /etc/tomcat5.5/policy.d/ or provide me with current copies of the contained files for documentation purposes.
Thanks!