/[projects]/android/TrainInfoService/src/main/webapp/WEB-INF/web.xml
ViewVC logotype

Contents of /android/TrainInfoService/src/main/webapp/WEB-INF/web.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2987 - (show annotations) (download) (as text)
Wed Mar 23 18:20:06 2016 UTC (8 years, 1 month ago) by torben
File MIME type: text/xml
File size: 2613 byte(s)
use mobile as default backend
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
3 <display-name>TrainInfoService</display-name>
4 <welcome-file-list>
5 <welcome-file>index.html</welcome-file>
6 <welcome-file>index.htm</welcome-file>
7 <welcome-file>index.jsp</welcome-file>
8 </welcome-file-list>
9 <context-param>
10 <description>enum: Describes whether to use azure based trafikinfo.bane.dk site or use the old (www.bane.dk)</description>
11 <param-name>backend</param-name>
12 <param-value>Mobile</param-value>
13 </context-param>
14 <context-param>
15 <description>Int: The error threshold for banedk circuitbreaker</description>
16 <param-name>banedk_threshold</param-name>
17 <param-value>5</param-value>
18 </context-param>
19 <context-param>
20 <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>
21 <param-name>banedk_timeout</param-name>
22 <param-value>60000</param-value>
23 </context-param>
24 <context-param>
25 <description>Int: how long should banedk results be cached (milliseconds) </description>
26 <param-name>cache_timeout</param-name>
27 <param-value>120000</param-value>
28 </context-param>
29 <context-param>
30 <description>Int: with which interval should statistics be save to DB (milliseconds) </description>
31 <param-name>stats_interval</param-name>
32 <param-value>300000</param-value>
33 </context-param>
34 <context-param>
35 <description>Int: how long should the fetcher wait for bane.dk to reply (milliseconds)</description>
36 <param-name>reply_timeout</param-name>
37 <param-value>3000</param-value>
38 </context-param>
39
40
41 <context-param>
42 <description>String: who should receive status mails</description>
43 <param-name>mail_recipient</param-name>
44 <param-value>torben@t-hoerup.dk</param-value>
45 </context-param>
46
47 <context-param>
48 <description>bool:</description>
49 <param-name>tritinfo_enabled</param-name>
50 <param-value>true</param-value>
51 </context-param>
52
53 <resource-ref>
54 <description>
55 Resource reference to a factory for java.sql.Connection
56 instances that may be used for talking to the database
57 that is configured in server.xml.
58 </description>
59 <res-ref-name>jdbc/android</res-ref-name>
60 <res-type>javax.sql.DataSource</res-type>
61 <res-auth>Container</res-auth>
62 </resource-ref>
63
64 </web-app>

  ViewVC Help
Powered by ViewVC 1.1.20