/[projects]/android/TrainInfoService/WebContent/WEB-INF/web.xml
ViewVC logotype

Diff of /android/TrainInfoService/WebContent/WEB-INF/web.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 301 by torben, Mon Sep 7 12:23:35 2009 UTC revision 584 by torben, Fri Feb 5 13:57:39 2010 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="UTF-8"?>  <?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">  <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>    <display-name>TrainInfoService</display-name>
4    <welcome-file-list>    <welcome-file-list>
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>
8      <welcome-file>default.html</welcome-file>      <welcome-file>default.html</welcome-file>
9      <welcome-file>default.htm</welcome-file>      <welcome-file>default.htm</welcome-file>
10      <welcome-file>default.jsp</welcome-file>      <welcome-file>default.jsp</welcome-file>
11    </welcome-file-list>    </welcome-file-list>
12    <resource-ref>    <context-param>
13      <description>          <description>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description>
14        Resource reference to a factory for java.sql.Connection      <param-name>usetempsite</param-name>
15        instances that may be used for talking to the database      <param-value>false</param-value>    
16        that is configured in server.xml.    </context-param>
17      </description>    <context-param>
18      <res-ref-name>jdbc/android</res-ref-name>          <description>Int: The error threshold for banedk circuitbreaker</description>
19      <res-type>javax.sql.DataSource</res-type>          <param-name>banedk_threshold</param-name>
20      <res-auth>Container</res-auth>          <param-value>5</param-value>
21    </resource-ref>    </context-param>
22    <servlet>    <context-param>
23      <description></description>          <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>
24      <display-name>LocateStations</display-name>          <param-name>banedk_timeout</param-name>
25      <servlet-name>LocateStations</servlet-name>          <param-value>60000</param-value>
26      <servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class>    </context-param>
27    </servlet>    <context-param>
28    <servlet-mapping>          <description>Int: how long should banedk results be cached (milliseconds) </description>
29      <servlet-name>LocateStations</servlet-name>          <param-name>cache_timeout</param-name>
30      <url-pattern>/LocateStations</url-pattern>          <param-value>120000</param-value>
31    </servlet-mapping>    </context-param>
32    <servlet>    <resource-ref>
33      <description></description>      <description>
34      <display-name>DumpResultSet</display-name>        Resource reference to a factory for java.sql.Connection
35      <servlet-name>DumpResultSet</servlet-name>        instances that may be used for talking to the database
36      <servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class>        that is configured in server.xml.
37    </servlet>      </description>
38    <servlet-mapping>      <res-ref-name>jdbc/android</res-ref-name>
39      <servlet-name>DumpResultSet</servlet-name>      <res-type>javax.sql.DataSource</res-type>
40      <url-pattern>/DumpResultSet</url-pattern>      <res-auth>Container</res-auth>
41    </servlet-mapping>    </resource-ref>
42    <servlet>    <servlet>
43      <description></description>      <description></description>
44      <display-name>LoadStations</display-name>      <display-name>LocateStations</display-name>
45      <servlet-name>LoadStations</servlet-name>      <servlet-name>LocateStations</servlet-name>
46      <servlet-class>dk.thoerup.traininfoservice.LoadStations</servlet-class>      <servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class>
47    </servlet>    </servlet>
48    <servlet-mapping>    <servlet-mapping>
49      <servlet-name>LoadStations</servlet-name>      <servlet-name>LocateStations</servlet-name>
50      <url-pattern>/LoadStations</url-pattern>      <url-pattern>/LocateStations</url-pattern>
51    </servlet-mapping>    </servlet-mapping>
52      <servlet>
53        <description></description>
54        <display-name>DumpResultSet</display-name>
55        <servlet-name>DumpResultSet</servlet-name>
56        <servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class>
57      </servlet>
58      <servlet-mapping>
59        <servlet-name>DumpResultSet</servlet-name>
60        <url-pattern>/DumpResultSet</url-pattern>
61      </servlet-mapping>
62      <servlet>
63        <description></description>
64        <display-name>LoadStations</display-name>
65        <servlet-name>LoadStations</servlet-name>
66        <servlet-class>dk.thoerup.traininfoservice.LoadStations</servlet-class>
67      </servlet>
68      <servlet-mapping>
69        <servlet-name>LoadStations</servlet-name>
70        <url-pattern>/LoadStations</url-pattern>
71      </servlet-mapping>
72      <servlet>
73        <description></description>
74        <display-name>DepartureServlet</display-name>
75        <servlet-name>DepartureServlet</servlet-name>
76        <servlet-class>dk.thoerup.traininfoservice.banedk.DepartureServlet</servlet-class>
77      </servlet>
78      <servlet-mapping>
79        <servlet-name>DepartureServlet</servlet-name>
80        <url-pattern>/DepartureServlet</url-pattern>
81      </servlet-mapping>
82      <servlet>
83        <description></description>
84        <display-name>TimetableServlet</display-name>
85        <servlet-name>TimetableServlet</servlet-name>
86        <servlet-class>dk.thoerup.traininfoservice.banedk.TimetableServlet</servlet-class>  
87      </servlet>
88      <servlet-mapping>
89        <servlet-name>TimetableServlet</servlet-name>
90        <url-pattern>/TimetableServlet</url-pattern>
91      </servlet-mapping>
92    
93      <servlet>
94        <description></description>
95        <display-name>CircuitBreakerServlet</display-name>
96        <servlet-name>CircuitBreakerServlet</servlet-name>
97        <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>
98        <init-param>
99            <param-name>readonly</param-name>
100            <param-value>0</param-value>
101        </init-param>
102      </servlet>
103    
104      <servlet-mapping>
105        <servlet-name>CircuitBreakerServlet</servlet-name>
106        <url-pattern>/CircuitBreakerServlet</url-pattern>
107      </servlet-mapping>
108    
109      <listener>
110        <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>
111      </listener>
112  </web-app>  </web-app>

Legend:
Removed from v.301  
changed lines
  Added in v.584

  ViewVC Help
Powered by ViewVC 1.1.20