/[projects]/android/TrainInfoServiceGoogle/war/WEB-INF/web.xml
ViewVC logotype

Annotation of /android/TrainInfoServiceGoogle/war/WEB-INF/web.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1080 - (hide annotations) (download) (as text)
Mon Sep 20 20:11:55 2010 UTC (13 years, 8 months ago) by torben
File MIME type: text/xml
File size: 5221 byte(s)
Add a copy with partial support for google app engine
1 torben 1080 <?xml version="1.0" encoding="UTF-8"?>
2     <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xmlns="http://java.sun.com/xml/ns/javaee"
4     xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
5     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
6     id="WebApp_ID" version="2.5">
7    
8     <display-name>TrainInfoService</display-name>
9     <welcome-file-list>
10     <welcome-file>index.html</welcome-file>
11     <welcome-file>index.htm</welcome-file>
12     <welcome-file>index.jsp</welcome-file>
13     </welcome-file-list>
14     <context-param>
15     <description>Bool: Describes whether to use azure based trafikinfo.bane.dk site or use the old (www.bane.dk)</description>
16     <param-name>useazuresite</param-name>
17     <param-value>false</param-value>
18     </context-param>
19     <context-param>
20     <description>Int: The error threshold for banedk circuitbreaker</description>
21     <param-name>banedk_threshold</param-name>
22     <param-value>5</param-value>
23     </context-param>
24     <context-param>
25     <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>
26     <param-name>banedk_timeout</param-name>
27     <param-value>60000</param-value>
28     </context-param>
29     <context-param>
30     <description>Int: how long should banedk results be cached (milliseconds) </description>
31     <param-name>cache_timeout</param-name>
32     <param-value>120000</param-value>
33     </context-param>
34     <context-param>
35     <description>Int: with which interval should statistics be save to DB (milliseconds) </description>
36     <param-name>stats_interval</param-name>
37     <param-value>300000</param-value>
38     </context-param>
39     <context-param>
40     <description>Int: how long should the fetcher wait for bane.dk to reply (milliseconds)</description>
41     <param-name>reply_timeout</param-name>
42     <param-value>3000</param-value>
43     </context-param>
44    
45     <servlet>
46     <servlet-name>TestServlet</servlet-name>
47     <servlet-class>dk.thoerup.traininfoservice.TestServlet</servlet-class>
48     </servlet>
49     <servlet-mapping>
50     <servlet-name>TestServlet</servlet-name>
51     <url-pattern>/TestServlet</url-pattern>
52     </servlet-mapping>
53    
54     <servlet>
55     <servlet-name>SavedStatistics</servlet-name>
56     <servlet-class>dk.thoerup.traininfoservice.SavedStatistics</servlet-class>
57     </servlet>
58     <servlet-mapping>
59     <servlet-name>SavedStatistics</servlet-name>
60     <url-pattern>/SavedStatistics</url-pattern>
61     </servlet-mapping>
62    
63     <servlet>
64     <servlet-name>RequestPlotter</servlet-name>
65     <servlet-class>dk.thoerup.traininfoservice.RequestPlotter</servlet-class>
66     </servlet>
67     <servlet-mapping>
68     <servlet-name>RequestPlotter</servlet-name>
69     <url-pattern>/RequestPlotter</url-pattern>
70     </servlet-mapping>
71    
72    
73    
74     <servlet>
75     <servlet-name>LocateStations</servlet-name>
76     <servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class>
77     </servlet>
78     <servlet-mapping>
79     <servlet-name>LocateStations</servlet-name>
80     <url-pattern>/LocateStations</url-pattern>
81     </servlet-mapping>
82    
83    
84     <servlet>
85     <servlet-name>DumpResultSet</servlet-name>
86     <servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class>
87     </servlet>
88     <servlet-mapping>
89     <servlet-name>DumpResultSet</servlet-name>
90     <url-pattern>/DumpResultSet</url-pattern>
91     </servlet-mapping>
92    
93    
94     <servlet>
95     <servlet-name>CircuitBreakerServlet</servlet-name>
96     <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>
97     <init-param>
98     <param-name>readonly</param-name>
99     <param-value>0</param-value>
100     </init-param>
101     </servlet>
102     <servlet-mapping>
103     <servlet-name>CircuitBreakerServlet</servlet-name>
104     <url-pattern>/CircuitBreakerServlet</url-pattern>
105     </servlet-mapping>
106    
107     <servlet>
108     <servlet-name>DepartureServlet</servlet-name>
109     <servlet-class>dk.thoerup.traininfoservice.banedk.DepartureServlet</servlet-class>
110     </servlet>
111     <servlet-mapping>
112     <servlet-name>DepartureServlet</servlet-name>
113     <url-pattern>/DepartureServlet</url-pattern>
114     </servlet-mapping>
115    
116    
117     <servlet>
118     <servlet-name>MetroServlet</servlet-name>
119     <servlet-class>dk.thoerup.traininfoservice.banedk.MetroServlet</servlet-class>
120     </servlet>
121     <servlet-mapping>
122     <servlet-name>MetroServlet</servlet-name>
123     <url-pattern>/MetroServlet</url-pattern>
124     </servlet-mapping>
125    
126     <servlet>
127     <servlet-name>TimetableServlet</servlet-name>
128     <servlet-class>dk.thoerup.traininfoservice.banedk.TimetableServlet</servlet-class>
129     </servlet>
130     <servlet-mapping>
131     <servlet-name>TimetableServlet</servlet-name>
132     <url-pattern>/TimetableServlet</url-pattern>
133     </servlet-mapping>
134    
135    
136     <listener>
137     <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>
138     </listener>
139    
140     <listener>
141     <listener-class>dk.thoerup.traininfoservice.StatisticsListener</listener-class>
142     </listener>
143    
144    
145    
146     <resource-ref>
147     <description>
148     Resource reference to a factory for java.sql.Connection
149     instances that may be used for talking to the database
150     that is configured in server.xml.
151     </description>
152     <res-ref-name>jdbc/android</res-ref-name>
153     <res-type>javax.sql.DataSource</res-type>
154     <res-auth>Container</res-auth>
155     </resource-ref>
156    
157     </web-app>

  ViewVC Help
Powered by ViewVC 1.1.20