55 |
brianR |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
94 |
brianR |
2 |
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
3 |
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
|
|
4 |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
|
|
5 |
version="2.5">
|
|
|
6 |
<context-param>
|
|
|
7 |
<param-name>contextConfigLocation</param-name>
|
|
|
8 |
<param-value>/WEB-INF/cxf-beans.xml</param-value>
|
|
|
9 |
</context-param>
|
|
|
10 |
<context-param>
|
|
|
11 |
<param-name>quartz:config-file</param-name>
|
|
|
12 |
<param-value>quartz.properties</param-value>
|
|
|
13 |
</context-param>
|
|
|
14 |
<context-param>
|
|
|
15 |
<param-name>quartz:shutdown-on-unload</param-name>
|
|
|
16 |
<param-value>true</param-value>
|
|
|
17 |
</context-param>
|
|
|
18 |
<context-param>
|
|
|
19 |
<param-name>quartz:wait-on-shutdown</param-name>
|
|
|
20 |
<param-value>false</param-value>
|
|
|
21 |
</context-param>
|
|
|
22 |
<context-param>
|
|
|
23 |
<param-name>quartz:start-scheduler-on-load</param-name>
|
|
|
24 |
<param-value>true</param-value>
|
|
|
25 |
</context-param>
|
|
|
26 |
<context-param>
|
|
|
27 |
<param-name>cache:thread-count</param-name>
|
|
|
28 |
<param-value>3</param-value>
|
|
|
29 |
</context-param>
|
|
|
30 |
<context-param>
|
|
|
31 |
<param-name>cvs-config-01</param-name>
|
|
|
32 |
<param-value>c:/temp/test.txt</param-value>
|
|
|
33 |
</context-param>
|
|
|
34 |
<context-param>
|
|
|
35 |
<param-name>cvs-config-02</param-name>
|
|
|
36 |
<param-value>c:/temp/test2.txt</param-value>
|
|
|
37 |
</context-param>
|
|
|
38 |
<context-param>
|
|
|
39 |
<param-name>cvs-config-03</param-name>
|
|
|
40 |
<param-value>c:/temp/test3.txt</param-value>
|
|
|
41 |
</context-param>
|
|
|
42 |
<context-param>
|
|
|
43 |
<param-name>cvs-cache-interval</param-name>
|
|
|
44 |
<param-value>15</param-value>
|
|
|
45 |
</context-param>
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
<listener>
|
|
|
50 |
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
|
51 |
</listener>
|
|
|
52 |
<listener>
|
|
|
53 |
<listener-class>org.quartz.ee.servlet.QuartzInitializerListener</listener-class>
|
|
|
54 |
</listener>
|
|
|
55 |
<listener>
|
|
|
56 |
<listener-class>net.brutex.xservices.util.cache.CacheExecutorService</listener-class>
|
|
|
57 |
</listener>
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
<servlet>
|
|
|
61 |
<servlet-name>XServices</servlet-name>
|
|
|
62 |
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
|
|
|
63 |
<load-on-startup>1</load-on-startup>
|
|
|
64 |
</servlet>
|
|
|
65 |
<servlet>
|
|
|
66 |
<servlet-name>QuartzInitializer</servlet-name>
|
|
|
67 |
<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
|
|
|
68 |
<init-param>
|
|
|
69 |
<param-name>shutdown-on-unload</param-name>
|
|
|
70 |
<param-value>true</param-value>
|
|
|
71 |
</init-param>
|
|
|
72 |
<load-on-startup>2</load-on-startup>
|
|
|
73 |
</servlet>
|
|
|
74 |
<servlet>
|
|
|
75 |
<servlet-name>CacheServlet</servlet-name>
|
|
|
76 |
<servlet-class>net.brutex.xservices.util.cache.CacheServlet</servlet-class>
|
|
|
77 |
<load-on-startup>3</load-on-startup>
|
|
|
78 |
</servlet>
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
<servlet-mapping>
|
|
|
82 |
<servlet-name>XServices</servlet-name>
|
|
|
83 |
<url-pattern>/*</url-pattern>
|
|
|
84 |
</servlet-mapping>
|
|
|
85 |
<session-config>
|
|
|
86 |
<session-timeout>30</session-timeout>
|
|
|
87 |
</session-config>
|
|
|
88 |
<welcome-file-list>
|
|
|
89 |
<welcome-file>index.html</welcome-file>
|
|
|
90 |
</welcome-file-list>
|
55 |
brianR |
91 |
</web-app>
|