[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #2100 [Company]: Please make configuration changes to Tomcat on yatei
#2100: Please make configuration changes to Tomcat on yatei
---------------------+------------------------------------------------------
Reporter: karsten | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Company | Version:
Keywords: | Parent:
---------------------+------------------------------------------------------
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!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2100>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs