Subversion Repositories XServices

Rev

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