/[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 795 by torben, Thu Jun 3 14:12:56 2010 UTC revision 1034 by torben, Wed Sep 8 12:31:55 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 azure based trafikinfo.bane.dk site or use the old (www.bane.dk)</description>
11    </welcome-file-list>      <param-name>useazuresite</param-name>
12    <context-param>      <param-value>true</param-value>
13      <description>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description>    </context-param>
14      <param-name>usetempsite</param-name>    <context-param>
15      <param-value>false</param-value>      <description>Int: The error threshold for banedk circuitbreaker</description>
16    </context-param>      <param-name>banedk_threshold</param-name>
17    <context-param>      <param-value>5</param-value>
18      <description>Int: The error threshold for banedk circuitbreaker</description>    </context-param>
19      <param-name>banedk_threshold</param-name>    <context-param>
20      <param-value>5</param-value>      <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>
21    </context-param>      <param-name>banedk_timeout</param-name>
22    <context-param>      <param-value>60000</param-value>
23      <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>    </context-param>
24      <param-name>banedk_timeout</param-name>    <context-param>
25      <param-value>60000</param-value>      <description>Int: how long should banedk results be cached (milliseconds) </description>
26    </context-param>      <param-name>cache_timeout</param-name>
27    <context-param>      <param-value>120000</param-value>
28      <description>Int: how long should banedk results be cached (milliseconds) </description>    </context-param>
29      <param-name>cache_timeout</param-name>    <context-param>
30      <param-value>120000</param-value>      <description>Int: with which interval should statistics be save to DB (milliseconds) </description>
31    </context-param>      <param-name>stats_interval</param-name>
32    <resource-ref>      <param-value>300000</param-value>
33      <description>    </context-param>
34        Resource reference to a factory for java.sql.Connection    <context-param>  
35        instances that may be used for talking to the database          <description>Int: how long should the fetcher wait for bane.dk to reply (milliseconds)</description>
36        that is configured in server.xml.          <param-name>reply_timeout</param-name>
37      </description>          <param-value>3000</param-value>
38      <res-ref-name>jdbc/android</res-ref-name>    </context-param>
39      <res-type>javax.sql.DataSource</res-type>    <resource-ref>
40      <res-auth>Container</res-auth>      <description>
41    </resource-ref>        Resource reference to a factory for java.sql.Connection
42    <servlet>        instances that may be used for talking to the database
43      <description></description>        that is configured in server.xml.
44      <display-name>LocateStations</display-name>      </description>
45      <servlet-name>LocateStations</servlet-name>      <res-ref-name>jdbc/android</res-ref-name>
46      <servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class>      <res-type>javax.sql.DataSource</res-type>
47    </servlet>      <res-auth>Container</res-auth>
48    <servlet-mapping>    </resource-ref>
49      <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>  
   </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>  
   </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>  
   <listener>  
     <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>  
   </listener>  
   <servlet>  
     <description></description>  
     <display-name>TestServlet</display-name>  
     <servlet-name>TestServlet</servlet-name>  
     <servlet-class>dk.thoerup.traininfoservice.TestServlet</servlet-class>  
   </servlet>  
   <servlet-mapping>  
     <servlet-name>TestServlet</servlet-name>  
     <url-pattern>/TestServlet</url-pattern>  
   </servlet-mapping>  
   <servlet>  
     <description></description>  
     <display-name>RequestPlotter</display-name>  
     <servlet-name>RequestPlotter</servlet-name>  
     <servlet-class>dk.thoerup.traininfoservice.RequestPlotter</servlet-class>  
   </servlet>  
   <servlet-mapping>  
     <servlet-name>RequestPlotter</servlet-name>  
     <url-pattern>/RequestPlotter</url-pattern>  
   </servlet-mapping>  
50  </web-app>  </web-app>

Legend:
Removed from v.795  
changed lines
  Added in v.1034

  ViewVC Help
Powered by ViewVC 1.1.20