5 |
<welcome-file>index.html</welcome-file> |
<welcome-file>index.html</welcome-file> |
6 |
<welcome-file>index.htm</welcome-file> |
<welcome-file>index.htm</welcome-file> |
7 |
<welcome-file>index.jsp</welcome-file> |
<welcome-file>index.jsp</welcome-file> |
|
<welcome-file>default.html</welcome-file> |
|
|
<welcome-file>default.htm</welcome-file> |
|
|
<welcome-file>default.jsp</welcome-file> |
|
8 |
</welcome-file-list> |
</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>Azure</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>120</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> |
<resource-ref> |
54 |
<description> |
<description> |
55 |
Resource reference to a factory for java.sql.Connection |
Resource reference to a factory for java.sql.Connection |
60 |
<res-type>javax.sql.DataSource</res-type> |
<res-type>javax.sql.DataSource</res-type> |
61 |
<res-auth>Container</res-auth> |
<res-auth>Container</res-auth> |
62 |
</resource-ref> |
</resource-ref> |
|
<servlet> |
|
|
<description></description> |
|
|
<display-name>LocateStations</display-name> |
|
|
<servlet-name>LocateStations</servlet-name> |
|
|
<servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class> |
|
|
</servlet> |
|
|
<servlet-mapping> |
|
|
<servlet-name>LocateStations</servlet-name> |
|
|
<url-pattern>/LocateStations</url-pattern> |
|
|
</servlet-mapping> |
|
|
<servlet> |
|
|
<description></description> |
|
|
<display-name>DumpResultSet</display-name> |
|
|
<servlet-name>DumpResultSet</servlet-name> |
|
|
<servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class> |
|
|
</servlet> |
|
|
<servlet-mapping> |
|
|
<servlet-name>DumpResultSet</servlet-name> |
|
|
<url-pattern>/DumpResultSet</url-pattern> |
|
|
</servlet-mapping> |
|
|
<servlet> |
|
|
<description></description> |
|
|
<display-name>LoadStations</display-name> |
|
|
<servlet-name>LoadStations</servlet-name> |
|
|
<servlet-class>dk.thoerup.traininfoservice.LoadStations</servlet-class> |
|
|
</servlet> |
|
|
<servlet-mapping> |
|
|
<servlet-name>LoadStations</servlet-name> |
|
|
<url-pattern>/LoadStations</url-pattern> |
|
|
</servlet-mapping> |
|
|
<servlet> |
|
|
<description></description> |
|
|
<display-name>DepartureServlet</display-name> |
|
|
<servlet-name>DepartureServlet</servlet-name> |
|
|
<servlet-class>dk.thoerup.traininfoservice.banedk.DepartureServlet</servlet-class> |
|
|
<init-param> |
|
|
<param-name>usetempsite</param-name> |
|
|
<param-value>false</param-value> |
|
|
</init-param> |
|
|
</servlet> |
|
|
<servlet-mapping> |
|
|
<servlet-name>DepartureServlet</servlet-name> |
|
|
<url-pattern>/DepartureServlet</url-pattern> |
|
|
</servlet-mapping> |
|
|
<servlet> |
|
|
<description></description> |
|
|
<display-name>TimetableServlet</display-name> |
|
|
<servlet-name>TimetableServlet</servlet-name> |
|
|
<servlet-class>dk.thoerup.traininfoservice.banedk.TimetableServlet</servlet-class> |
|
|
<init-param> |
|
|
<param-name>usetempsite</param-name> |
|
|
<param-value>false</param-value> |
|
|
</init-param> |
|
|
</servlet> |
|
|
<servlet-mapping> |
|
|
<servlet-name>TimetableServlet</servlet-name> |
|
|
<url-pattern>/TimetableServlet</url-pattern> |
|
|
</servlet-mapping> |
|
|
|
|
|
<servlet> |
|
|
<description></description> |
|
|
<display-name>CircuitBreakerServlet</display-name> |
|
|
<servlet-name>CircuitBreakerServlet</servlet-name> |
|
|
<servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class> |
|
|
<init-param> |
|
|
<param-name>readonly</param-name> |
|
|
<param-value>0</param-value> |
|
|
</init-param> |
|
|
</servlet> |
|
|
|
|
|
<servlet-mapping> |
|
|
<servlet-name>CircuitBreakerServlet</servlet-name> |
|
|
<url-pattern>/CircuitBreakerServlet</url-pattern> |
|
|
</servlet-mapping> |
|
63 |
|
|
|
<listener> |
|
|
<listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class> |
|
|
</listener> |
|
64 |
</web-app> |
</web-app> |