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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1607 - (hide annotations) (download) (as text)
Tue Oct 4 17:35:31 2011 UTC (12 years, 7 months ago) by torben
Original Path: android/TrainInfoService/WebContent/WEB-INF/web.xml
File MIME type: text/xml
File size: 2451 byte(s)
make the sending of mails configurable
1 torben 811 <?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 torben 1372 <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>Azure</param-value>
13 torben 811 </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 torben 1026 <context-param>
30 torben 811 <description>Int: with which interval should statistics be save to DB (milliseconds) </description>
31     <param-name>stats_interval</param-name>
32 torben 812 <param-value>300000</param-value>
33 torben 811 </context-param>
34 torben 1026 <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 torben 1034 <param-value>3000</param-value>
38 torben 1026 </context-param>
39 torben 1607
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 torben 811 <resource-ref>
48     <description>
49     Resource reference to a factory for java.sql.Connection
50     instances that may be used for talking to the database
51     that is configured in server.xml.
52     </description>
53     <res-ref-name>jdbc/android</res-ref-name>
54     <res-type>javax.sql.DataSource</res-type>
55     <res-auth>Container</res-auth>
56     </resource-ref>
57 torben 958
58 torben 292 </web-app>

  ViewVC Help
Powered by ViewVC 1.1.20