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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1377 - (show annotations) (download) (as text)
Sat Apr 23 10:49:20 2011 UTC (13 years ago) by torben
File MIME type: text/xml
File size: 5777 byte(s)
use azure site on google branch
1 <?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>TrainInfoServiceGoogle</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>true</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 <servlet>
84 <servlet-name>LoadStations</servlet-name>
85 <servlet-class>dk.thoerup.traininfoservice.LoadStations</servlet-class>
86 </servlet>
87 <servlet-mapping>
88 <servlet-name>LoadStations</servlet-name>
89 <url-pattern>/LoadStations</url-pattern>
90 </servlet-mapping>
91
92
93 <servlet>
94 <servlet-name>DumpResultSet</servlet-name>
95 <servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class>
96 </servlet>
97 <servlet-mapping>
98 <servlet-name>DumpResultSet</servlet-name>
99 <url-pattern>/DumpResultSet</url-pattern>
100 </servlet-mapping>
101
102
103 <servlet>
104 <servlet-name>CircuitBreakerServlet</servlet-name>
105 <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>
106 <init-param>
107 <param-name>readonly</param-name>
108 <param-value>0</param-value>
109 </init-param>
110 </servlet>
111 <servlet-mapping>
112 <servlet-name>CircuitBreakerServlet</servlet-name>
113 <url-pattern>/CircuitBreakerServlet</url-pattern>
114 </servlet-mapping>
115
116 <servlet>
117 <servlet-name>DepartureServlet</servlet-name>
118 <servlet-class>dk.thoerup.traininfoservice.banedk.DepartureServlet</servlet-class>
119 </servlet>
120 <servlet-mapping>
121 <servlet-name>DepartureServlet</servlet-name>
122 <url-pattern>/DepartureServlet</url-pattern>
123 </servlet-mapping>
124
125
126 <servlet>
127 <servlet-name>MetroServlet</servlet-name>
128 <servlet-class>dk.thoerup.traininfoservice.banedk.MetroServlet</servlet-class>
129 </servlet>
130 <servlet-mapping>
131 <servlet-name>MetroServlet</servlet-name>
132 <url-pattern>/MetroServlet</url-pattern>
133 </servlet-mapping>
134
135 <servlet>
136 <servlet-name>TimetableServlet</servlet-name>
137 <servlet-class>dk.thoerup.traininfoservice.banedk.TimetableServlet</servlet-class>
138 </servlet>
139 <servlet-mapping>
140 <servlet-name>TimetableServlet</servlet-name>
141 <url-pattern>/TimetableServlet</url-pattern>
142 </servlet-mapping>
143
144 <servlet>
145 <servlet-name>XmppServlet</servlet-name>
146 <servlet-class>dk.thoerup.traininfoservice.XmppServlet</servlet-class>
147 </servlet>
148 <servlet-mapping>
149 <servlet-name>XmppServlet</servlet-name>
150 <url-pattern>/XmppServlet</url-pattern>
151 </servlet-mapping>
152
153
154 <listener>
155 <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>
156 </listener>
157
158 <listener>
159 <listener-class>dk.thoerup.traininfoservice.StatisticsListener</listener-class>
160 </listener>
161
162
163
164 <resource-ref>
165 <description>
166 Resource reference to a factory for java.sql.Connection
167 instances that may be used for talking to the database
168 that is configured in server.xml.
169 </description>
170 <res-ref-name>jdbc/android</res-ref-name>
171 <res-type>javax.sql.DataSource</res-type>
172 <res-auth>Container</res-auth>
173 </resource-ref>
174
175 </web-app>

  ViewVC Help
Powered by ViewVC 1.1.20