Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #2100

Closed
Open
Opened 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 admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#2100