/[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 422 by torben, Thu Oct 8 12:22:54 2009 UTC revision 811 by torben, Wed Jun 9 20:16:01 2010 UTC
# Line 9  Line 9 
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>
13        <description>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description>
14        <param-name>usetempsite</param-name>
15        <param-value>false</param-value>
16      </context-param>
17      <context-param>
18        <description>Int: The error threshold for banedk circuitbreaker</description>
19        <param-name>banedk_threshold</param-name>
20        <param-value>5</param-value>
21      </context-param>
22      <context-param>
23        <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>
24        <param-name>banedk_timeout</param-name>
25        <param-value>60000</param-value>
26      </context-param>
27      <context-param>
28        <description>Int: how long should banedk results be cached (milliseconds) </description>
29        <param-name>cache_timeout</param-name>
30        <param-value>120000</param-value>
31      </context-param>
32        <context-param>
33        <description>Int: with which interval should statistics be save to DB (milliseconds) </description>
34        <param-name>stats_interval</param-name>
35        <param-value>30000</param-value>
36      </context-param>
37    <resource-ref>    <resource-ref>
38      <description>      <description>
39        Resource reference to a factory for java.sql.Connection        Resource reference to a factory for java.sql.Connection
# Line 69  Line 94 
94      <servlet-name>TimetableServlet</servlet-name>      <servlet-name>TimetableServlet</servlet-name>
95      <url-pattern>/TimetableServlet</url-pattern>      <url-pattern>/TimetableServlet</url-pattern>
96    </servlet-mapping>    </servlet-mapping>
   
97    <servlet>    <servlet>
98      <description></description>      <description></description>
99      <display-name>CircuitBreakerServlet</display-name>      <display-name>CircuitBreakerServlet</display-name>
100      <servlet-name>CircuitBreakerServlet</servlet-name>      <servlet-name>CircuitBreakerServlet</servlet-name>
101      <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>      <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>
102      <init-param>      <init-param>
103          <param-name>readonly</param-name>        <param-name>readonly</param-name>
104          <param-value>0</param-value>        <param-value>0</param-value>
105      </init-param>      </init-param>
106    </servlet>    </servlet>
   
107    <servlet-mapping>    <servlet-mapping>
108      <servlet-name>CircuitBreakerServlet</servlet-name>      <servlet-name>CircuitBreakerServlet</servlet-name>
109      <url-pattern>/CircuitBreakerServlet</url-pattern>      <url-pattern>/CircuitBreakerServlet</url-pattern>
110    </servlet-mapping>    </servlet-mapping>
   
111    <listener>    <listener>
112      <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>      <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>
113    </listener>    </listener>
114      <servlet>
115        <description></description>
116        <display-name>TestServlet</display-name>
117        <servlet-name>TestServlet</servlet-name>
118        <servlet-class>dk.thoerup.traininfoservice.TestServlet</servlet-class>
119      </servlet>
120      <servlet-mapping>
121        <servlet-name>TestServlet</servlet-name>
122        <url-pattern>/TestServlet</url-pattern>
123      </servlet-mapping>
124      <servlet>
125        <description></description>
126        <display-name>RequestPlotter</display-name>
127        <servlet-name>RequestPlotter</servlet-name>
128        <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.422  
changed lines
  Added in v.811

  ViewVC Help
Powered by ViewVC 1.1.20