7 |
<welcome-file>index.jsp</welcome-file> |
<welcome-file>index.jsp</welcome-file> |
8 |
</welcome-file-list> |
</welcome-file-list> |
9 |
<context-param> |
<context-param> |
10 |
<description>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description> |
<description>Bool: Describes whether to use azure based trafikinfo.bane.dk site or use the old (www.bane.dk)</description> |
11 |
<param-name>usetempsite</param-name> |
<param-name>useazuresite</param-name> |
12 |
<param-value>false</param-value> |
<param-value>true</param-value> |
13 |
</context-param> |
</context-param> |
14 |
<context-param> |
<context-param> |
15 |
<description>Int: The error threshold for banedk circuitbreaker</description> |
<description>Int: The error threshold for banedk circuitbreaker</description> |
26 |
<param-name>cache_timeout</param-name> |
<param-name>cache_timeout</param-name> |
27 |
<param-value>120000</param-value> |
<param-value>120000</param-value> |
28 |
</context-param> |
</context-param> |
29 |
<context-param> |
<context-param> |
30 |
<description>Int: with which interval should statistics be save to DB (milliseconds) </description> |
<description>Int: with which interval should statistics be save to DB (milliseconds) </description> |
31 |
<param-name>stats_interval</param-name> |
<param-name>stats_interval</param-name> |
32 |
<param-value>300000</param-value> |
<param-value>300000</param-value> |
33 |
</context-param> |
</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 |
<resource-ref> |
<resource-ref> |
40 |
<description> |
<description> |
41 |
Resource reference to a factory for java.sql.Connection |
Resource reference to a factory for java.sql.Connection |
47 |
<res-auth>Container</res-auth> |
<res-auth>Container</res-auth> |
48 |
</resource-ref> |
</resource-ref> |
49 |
|
|
|
|
|
|
|
|
|
<listener> |
|
|
<listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class> |
|
|
</listener> |
|
|
|
|
|
|
|
|
<listener> |
|
|
<listener-class>dk.thoerup.traininfoservice.StatisticsListener</listener-class> |
|
|
</listener> |
|
50 |
</web-app> |
</web-app> |