/[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 810 by torben, Thu Jun 3 14:12:56 2010 UTC revision 811 by torben, Wed Jun 9 20:16:01 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    <context-param>    <context-param>
13      <description>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description>      <description>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description>
14      <param-name>usetempsite</param-name>      <param-name>usetempsite</param-name>
15      <param-value>false</param-value>      <param-value>false</param-value>
16    </context-param>    </context-param>
17    <context-param>    <context-param>
18      <description>Int: The error threshold for banedk circuitbreaker</description>      <description>Int: The error threshold for banedk circuitbreaker</description>
19      <param-name>banedk_threshold</param-name>      <param-name>banedk_threshold</param-name>
20      <param-value>5</param-value>      <param-value>5</param-value>
21    </context-param>    </context-param>
22    <context-param>    <context-param>
23      <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>      <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>
24      <param-name>banedk_timeout</param-name>      <param-name>banedk_timeout</param-name>
25      <param-value>60000</param-value>      <param-value>60000</param-value>
26    </context-param>    </context-param>
27    <context-param>    <context-param>
28      <description>Int: how long should banedk results be cached (milliseconds) </description>      <description>Int: how long should banedk results be cached (milliseconds) </description>
29      <param-name>cache_timeout</param-name>      <param-name>cache_timeout</param-name>
30      <param-value>120000</param-value>      <param-value>120000</param-value>
31    </context-param>    </context-param>
32    <resource-ref>      <context-param>
33      <description>      <description>Int: with which interval should statistics be save to DB (milliseconds) </description>
34        Resource reference to a factory for java.sql.Connection      <param-name>stats_interval</param-name>
35        instances that may be used for talking to the database      <param-value>30000</param-value>
36        that is configured in server.xml.    </context-param>
37      </description>    <resource-ref>
38      <res-ref-name>jdbc/android</res-ref-name>      <description>
39      <res-type>javax.sql.DataSource</res-type>        Resource reference to a factory for java.sql.Connection
40      <res-auth>Container</res-auth>        instances that may be used for talking to the database
41    </resource-ref>        that is configured in server.xml.
42    <servlet>      </description>
43      <description></description>      <res-ref-name>jdbc/android</res-ref-name>
44      <display-name>LocateStations</display-name>      <res-type>javax.sql.DataSource</res-type>
45      <servlet-name>LocateStations</servlet-name>      <res-auth>Container</res-auth>
46      <servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class>    </resource-ref>
47    </servlet>    <servlet>
48    <servlet-mapping>      <description></description>
49      <servlet-name>LocateStations</servlet-name>      <display-name>LocateStations</display-name>
50      <url-pattern>/LocateStations</url-pattern>      <servlet-name>LocateStations</servlet-name>
51    </servlet-mapping>      <servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class>
52    <servlet>    </servlet>
53      <description></description>    <servlet-mapping>
54      <display-name>DumpResultSet</display-name>      <servlet-name>LocateStations</servlet-name>
55      <servlet-name>DumpResultSet</servlet-name>      <url-pattern>/LocateStations</url-pattern>
56      <servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class>    </servlet-mapping>
57    </servlet>    <servlet>
58    <servlet-mapping>      <description></description>
59      <servlet-name>DumpResultSet</servlet-name>      <display-name>DumpResultSet</display-name>
60      <url-pattern>/DumpResultSet</url-pattern>      <servlet-name>DumpResultSet</servlet-name>
61    </servlet-mapping>      <servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class>
62    <servlet>    </servlet>
63      <description></description>    <servlet-mapping>
64      <display-name>LoadStations</display-name>      <servlet-name>DumpResultSet</servlet-name>
65      <servlet-name>LoadStations</servlet-name>      <url-pattern>/DumpResultSet</url-pattern>
66      <servlet-class>dk.thoerup.traininfoservice.LoadStations</servlet-class>    </servlet-mapping>
67    </servlet>    <servlet>
68    <servlet-mapping>      <description></description>
69      <servlet-name>LoadStations</servlet-name>      <display-name>LoadStations</display-name>
70      <url-pattern>/LoadStations</url-pattern>      <servlet-name>LoadStations</servlet-name>
71    </servlet-mapping>      <servlet-class>dk.thoerup.traininfoservice.LoadStations</servlet-class>
72    <servlet>    </servlet>
73      <description></description>    <servlet-mapping>
74      <display-name>DepartureServlet</display-name>      <servlet-name>LoadStations</servlet-name>
75      <servlet-name>DepartureServlet</servlet-name>      <url-pattern>/LoadStations</url-pattern>
76      <servlet-class>dk.thoerup.traininfoservice.banedk.DepartureServlet</servlet-class>    </servlet-mapping>
77    </servlet>    <servlet>
78    <servlet-mapping>      <description></description>
79      <servlet-name>DepartureServlet</servlet-name>      <display-name>DepartureServlet</display-name>
80      <url-pattern>/DepartureServlet</url-pattern>      <servlet-name>DepartureServlet</servlet-name>
81    </servlet-mapping>      <servlet-class>dk.thoerup.traininfoservice.banedk.DepartureServlet</servlet-class>
82    <servlet>    </servlet>
83      <description></description>    <servlet-mapping>
84      <display-name>TimetableServlet</display-name>      <servlet-name>DepartureServlet</servlet-name>
85      <servlet-name>TimetableServlet</servlet-name>      <url-pattern>/DepartureServlet</url-pattern>
86      <servlet-class>dk.thoerup.traininfoservice.banedk.TimetableServlet</servlet-class>    </servlet-mapping>
87    </servlet>    <servlet>
88    <servlet-mapping>      <description></description>
89      <servlet-name>TimetableServlet</servlet-name>      <display-name>TimetableServlet</display-name>
90      <url-pattern>/TimetableServlet</url-pattern>      <servlet-name>TimetableServlet</servlet-name>
91    </servlet-mapping>      <servlet-class>dk.thoerup.traininfoservice.banedk.TimetableServlet</servlet-class>
92    <servlet>    </servlet>
93      <description></description>    <servlet-mapping>
94      <display-name>CircuitBreakerServlet</display-name>      <servlet-name>TimetableServlet</servlet-name>
95      <servlet-name>CircuitBreakerServlet</servlet-name>      <url-pattern>/TimetableServlet</url-pattern>
96      <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>    </servlet-mapping>
97      <init-param>    <servlet>
98        <param-name>readonly</param-name>      <description></description>
99        <param-value>0</param-value>      <display-name>CircuitBreakerServlet</display-name>
100      </init-param>      <servlet-name>CircuitBreakerServlet</servlet-name>
101    </servlet>      <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>
102    <servlet-mapping>      <init-param>
103      <servlet-name>CircuitBreakerServlet</servlet-name>        <param-name>readonly</param-name>
104      <url-pattern>/CircuitBreakerServlet</url-pattern>        <param-value>0</param-value>
105    </servlet-mapping>      </init-param>
106    <listener>    </servlet>
107      <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>    <servlet-mapping>
108    </listener>      <servlet-name>CircuitBreakerServlet</servlet-name>
109    <servlet>      <url-pattern>/CircuitBreakerServlet</url-pattern>
110      <description></description>    </servlet-mapping>
111      <display-name>TestServlet</display-name>    <listener>
112      <servlet-name>TestServlet</servlet-name>      <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>
113      <servlet-class>dk.thoerup.traininfoservice.TestServlet</servlet-class>    </listener>
114    </servlet>    <servlet>
115    <servlet-mapping>      <description></description>
116      <servlet-name>TestServlet</servlet-name>      <display-name>TestServlet</display-name>
117      <url-pattern>/TestServlet</url-pattern>      <servlet-name>TestServlet</servlet-name>
118    </servlet-mapping>      <servlet-class>dk.thoerup.traininfoservice.TestServlet</servlet-class>
119    <servlet>    </servlet>
120      <description></description>    <servlet-mapping>
121      <display-name>RequestPlotter</display-name>      <servlet-name>TestServlet</servlet-name>
122      <servlet-name>RequestPlotter</servlet-name>      <url-pattern>/TestServlet</url-pattern>
123      <servlet-class>dk.thoerup.traininfoservice.RequestPlotter</servlet-class>    </servlet-mapping>
124    </servlet>    <servlet>
125    <servlet-mapping>      <description></description>
126      <servlet-name>RequestPlotter</servlet-name>      <display-name>RequestPlotter</display-name>
127      <url-pattern>/RequestPlotter</url-pattern>      <servlet-name>RequestPlotter</servlet-name>
128    </servlet-mapping>      <servlet-class>dk.thoerup.traininfoservice.RequestPlotter</servlet-class>
129      </servlet>
130      <servlet-mapping>
131        <servlet-name>RequestPlotter</servlet-name>
132        <url-pattern>/RequestPlotter</url-pattern>
133      </servlet-mapping>
134      <listener>
135        <listener-class>dk.thoerup.traininfoservice.StatisticsListener</listener-class>
136      </listener>
137  </web-app>  </web-app>

Legend:
Removed from v.810  
changed lines
  Added in v.811

  ViewVC Help
Powered by ViewVC 1.1.20