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>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description> |
11 |
<param-name>usetempsite</param-name> |
12 |
<param-value>false</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 |
<resource-ref> |
35 |
<description> |
36 |
Resource reference to a factory for java.sql.Connection |
37 |
instances that may be used for talking to the database |
38 |
that is configured in server.xml. |
39 |
</description> |
40 |
<res-ref-name>jdbc/android</res-ref-name> |
41 |
<res-type>javax.sql.DataSource</res-type> |
42 |
<res-auth>Container</res-auth> |
43 |
</resource-ref> |
44 |
|
45 |
</web-app> |