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 |
1034 |
<description>Bool: Describes whether to use azure based trafikinfo.bane.dk site or use the old (www.bane.dk)</description> |
11 |
|
|
<param-name>useazuresite</param-name> |
12 |
torben |
1206 |
<param-value>true</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 |
811 |
<resource-ref> |
40 |
|
|
<description> |
41 |
|
|
Resource reference to a factory for java.sql.Connection |
42 |
|
|
instances that may be used for talking to the database |
43 |
|
|
that is configured in server.xml. |
44 |
|
|
</description> |
45 |
|
|
<res-ref-name>jdbc/android</res-ref-name> |
46 |
|
|
<res-type>javax.sql.DataSource</res-type> |
47 |
|
|
<res-auth>Container</res-auth> |
48 |
|
|
</resource-ref> |
49 |
torben |
958 |
|
50 |
torben |
292 |
</web-app> |