Subversion Repositories XServices

Rev

Rev 101 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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>
101 brianR 30
 
31
	<!--
94 brianR 32
	<context-param>
101 brianR 33
		<param-name>cvs-config-02</param-name>
34
		<param-value>c:/temp/test2.txt</param-value>
35
	</context-param>
36
 
37
	<context-param>
94 brianR 38
		<param-name>cvs-config-01</param-name>
39
		<param-value>c:/temp/test.txt</param-value>
40
	</context-param>
101 brianR 41
 
94 brianR 42
	<context-param>
43
		<param-name>cvs-config-03</param-name>
44
		<param-value>c:/temp/test3.txt</param-value>
45
	</context-param>
101 brianR 46
	-->
47
 
48
	<!--  Caching interval in minutes for CVS cache -->
94 brianR 49
	<context-param>
50
		<param-name>cvs-cache-interval</param-name>
101 brianR 51
		<param-value>3</param-value>
94 brianR 52
	</context-param>
101 brianR 53
 
54
	<!--  CVS content search cache -->
55
	<!--
56
	<context-param>
57
		<param-name>cvs-findings-configuration</param-name>
58
		<param-value>c:/temp/cvs-findings.txt</param-value>
59
	</context-param>
60
	-->
94 brianR 61
 
62
	<listener>
63
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
64
	</listener>
65
	<listener>
66
		<listener-class>org.quartz.ee.servlet.QuartzInitializerListener</listener-class>
67
	</listener>
68
	<listener>
69
		<listener-class>net.brutex.xservices.util.cache.CacheExecutorService</listener-class>
70
	</listener>
71
 
72
 
73
	<servlet>
74
		<servlet-name>XServices</servlet-name>
75
		<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
76
		<load-on-startup>1</load-on-startup>
77
	</servlet>
78
	<servlet>
79
		<servlet-name>QuartzInitializer</servlet-name>
80
		<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
81
		<init-param>
82
			<param-name>shutdown-on-unload</param-name>
83
			<param-value>true</param-value>
84
		</init-param>
85
		<load-on-startup>2</load-on-startup>
86
	</servlet>
87
	<servlet>
88
		<servlet-name>CacheServlet</servlet-name>
89
		<servlet-class>net.brutex.xservices.util.cache.CacheServlet</servlet-class>
90
		<load-on-startup>3</load-on-startup>
91
	</servlet>
101 brianR 92
	<servlet>
93
		<servlet-name>FindingsCacheServlet</servlet-name>
94
		<servlet-class>net.brutex.xservices.util.cache.FindingsCacheServlet</servlet-class>
95
		<load-on-startup>3</load-on-startup>
96
	</servlet>
94 brianR 97
 
98
	<servlet-mapping>
99
		<servlet-name>XServices</servlet-name>
100
		<url-pattern>/*</url-pattern>
101
	</servlet-mapping>
102
	<session-config>
103
		<session-timeout>30</session-timeout>
104
	</session-config>
105
	<welcome-file-list>
106
		<welcome-file>index.html</welcome-file>
107
	</welcome-file-list>
55 brianR 108
</web-app>