Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #2100
Closed
Open
Issue created Oct 22, 2010 by Karsten Loesing@karsten

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!

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking