/[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 307 by torben, Thu Sep 10 18:11:53 2009 UTC revision 958 by torben, Mon Jul 5 09:48:06 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-list>
9      <welcome-file>default.htm</welcome-file>    <context-param>
10      <welcome-file>default.jsp</welcome-file>      <description>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description>
11    </welcome-file-list>      <param-name>usetempsite</param-name>
12    <resource-ref>      <param-value>false</param-value>
13      <description>    </context-param>
14        Resource reference to a factory for java.sql.Connection    <context-param>
15        instances that may be used for talking to the database      <description>Int: The error threshold for banedk circuitbreaker</description>
16        that is configured in server.xml.      <param-name>banedk_threshold</param-name>
17      </description>      <param-value>5</param-value>
18      <res-ref-name>jdbc/android</res-ref-name>    </context-param>
19      <res-type>javax.sql.DataSource</res-type>    <context-param>
20      <res-auth>Container</res-auth>      <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>
21    </resource-ref>      <param-name>banedk_timeout</param-name>
22    <servlet>      <param-value>60000</param-value>
23      <description></description>    </context-param>
24      <display-name>LocateStations</display-name>    <context-param>
25      <servlet-name>LocateStations</servlet-name>      <description>Int: how long should banedk results be cached (milliseconds) </description>
26      <servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class>      <param-name>cache_timeout</param-name>
27    </servlet>      <param-value>120000</param-value>
28    <servlet-mapping>    </context-param>
29      <servlet-name>LocateStations</servlet-name>      <context-param>
30      <url-pattern>/LocateStations</url-pattern>      <description>Int: with which interval should statistics be save to DB (milliseconds) </description>
31    </servlet-mapping>      <param-name>stats_interval</param-name>
32    <servlet>      <param-value>300000</param-value>
33      <description></description>    </context-param>
34      <display-name>DumpResultSet</display-name>    <resource-ref>
35      <servlet-name>DumpResultSet</servlet-name>      <description>
36      <servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class>        Resource reference to a factory for java.sql.Connection
37    </servlet>        instances that may be used for talking to the database
38    <servlet-mapping>        that is configured in server.xml.
39      <servlet-name>DumpResultSet</servlet-name>      </description>
40      <url-pattern>/DumpResultSet</url-pattern>      <res-ref-name>jdbc/android</res-ref-name>
41    </servlet-mapping>      <res-type>javax.sql.DataSource</res-type>
42    <servlet>      <res-auth>Container</res-auth>
43      <description></description>    </resource-ref>
44      <display-name>LoadStations</display-name>  
45      <servlet-name>LoadStations</servlet-name>  
46      <servlet-class>dk.thoerup.traininfoservice.LoadStations</servlet-class>    
47    </servlet>    <listener>
48    <servlet-mapping>      <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>
49      <servlet-name>LoadStations</servlet-name>    </listener>
50      <url-pattern>/LoadStations</url-pattern>  
51    </servlet-mapping>  
52    <servlet>    <listener>
53      <description></description>      <listener-class>dk.thoerup.traininfoservice.StatisticsListener</listener-class>
54      <display-name>DepartureServlet</display-name>    </listener>
     <servlet-name>DepartureServlet</servlet-name>  
     <servlet-class>dk.thoerup.traininfoservice.banedk.DepartureServlet</servlet-class>  
   </servlet>  
   <servlet-mapping>  
     <servlet-name>DepartureServlet</servlet-name>  
     <url-pattern>/DepartureServlet</url-pattern>  
   </servlet-mapping>  
55  </web-app>  </web-app>

Legend:
Removed from v.307  
changed lines
  Added in v.958

  ViewVC Help
Powered by ViewVC 1.1.20