/[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 734 by torben, Fri Feb 5 13:57:39 2010 UTC revision 735 by torben, Tue May 18 20:58:04 2010 UTC
# Line 10  Line 10 
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>    <resource-ref>
33      <description>      <description>
# Line 83  Line 83 
83      <description></description>      <description></description>
84      <display-name>TimetableServlet</display-name>      <display-name>TimetableServlet</display-name>
85      <servlet-name>TimetableServlet</servlet-name>      <servlet-name>TimetableServlet</servlet-name>
86      <servlet-class>dk.thoerup.traininfoservice.banedk.TimetableServlet</servlet-class>        <servlet-class>dk.thoerup.traininfoservice.banedk.TimetableServlet</servlet-class>
87    </servlet>    </servlet>
88    <servlet-mapping>    <servlet-mapping>
89      <servlet-name>TimetableServlet</servlet-name>      <servlet-name>TimetableServlet</servlet-name>
90      <url-pattern>/TimetableServlet</url-pattern>      <url-pattern>/TimetableServlet</url-pattern>
91    </servlet-mapping>    </servlet-mapping>
   
92    <servlet>    <servlet>
93      <description></description>      <description></description>
94      <display-name>CircuitBreakerServlet</display-name>      <display-name>CircuitBreakerServlet</display-name>
95      <servlet-name>CircuitBreakerServlet</servlet-name>      <servlet-name>CircuitBreakerServlet</servlet-name>
96      <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>      <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>
97      <init-param>      <init-param>
98          <param-name>readonly</param-name>        <param-name>readonly</param-name>
99          <param-value>0</param-value>        <param-value>0</param-value>
100      </init-param>      </init-param>
101    </servlet>    </servlet>
   
102    <servlet-mapping>    <servlet-mapping>
103      <servlet-name>CircuitBreakerServlet</servlet-name>      <servlet-name>CircuitBreakerServlet</servlet-name>
104      <url-pattern>/CircuitBreakerServlet</url-pattern>      <url-pattern>/CircuitBreakerServlet</url-pattern>
105    </servlet-mapping>    </servlet-mapping>
   
106    <listener>    <listener>
107      <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>      <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>
108    </listener>    </listener>
109      <servlet>
110        <description></description>
111        <display-name>TestServlet</display-name>
112        <servlet-name>TestServlet</servlet-name>
113        <servlet-class>dk.thoerup.traininfoservice.TestServlet</servlet-class>
114      </servlet>
115      <servlet-mapping>
116        <servlet-name>TestServlet</servlet-name>
117        <url-pattern>/TestServlet</url-pattern>
118      </servlet-mapping>
119  </web-app>  </web-app>

Legend:
Removed from v.734  
changed lines
  Added in v.735

  ViewVC Help
Powered by ViewVC 1.1.20