[tor-commits] [metrics-web/master] No need to access the database from the website anymore.

karsten at torproject.org karsten at torproject.org
Sun Jun 15 19:42:36 UTC 2014


commit 224cbe72233c4b72839cbd2ff26603869bd80488
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Thu Jun 12 16:41:30 2014 +0200

    No need to access the database from the website anymore.
    
    The relay-search servlet was the last class to access the database for
    web requests.
---
 website/etc/web.xml |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/website/etc/web.xml b/website/etc/web.xml
index a78cd28..a3149ff 100644
--- a/website/etc/web.xml
+++ b/website/etc/web.xml
@@ -258,13 +258,6 @@
     <location>/WEB-INF/error.jsp</location>
   </error-page>
 
-  <resource-ref>
-    <description>Tor Metrics Database</description>
-    <res-ref-name>jdbc/tordir</res-ref-name>
-    <res-type>javax.sql.DataSource</res-type>
-    <res-auth>Container</res-auth>
-  </resource-ref>
-
   <context-param>
     <param-name>rserveHost</param-name>
     <param-value>localhost</param-value>





More information about the tor-commits mailing list