Subversion Repositories XServices

Rev

Rev 101 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 101 Rev 146
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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"
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"
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">
5
	version="2.5">
6
	<context-param>
6
	<context-param>
7
		<param-name>contextConfigLocation</param-name>
7
		<param-name>contextConfigLocation</param-name>
8
		<param-value>/WEB-INF/cxf-beans.xml</param-value>
8
		<param-value>/WEB-INF/cxf-beans.xml</param-value>
9
	</context-param>
9
	</context-param>
10
	<context-param>
10
	<context-param>
11
		<param-name>quartz:config-file</param-name>
11
		<param-name>quartz:config-file</param-name>
12
		<param-value>quartz.properties</param-value>
12
		<param-value>quartz.properties</param-value>
13
	</context-param>
13
	</context-param>
14
	<context-param>
14
	<context-param>
15
		<param-name>quartz:shutdown-on-unload</param-name>
15
		<param-name>quartz:shutdown-on-unload</param-name>
16
		<param-value>true</param-value>
16
		<param-value>true</param-value>
17
	</context-param>
17
	</context-param>
18
	<context-param>
18
	<context-param>
19
		<param-name>quartz:wait-on-shutdown</param-name>
19
		<param-name>quartz:wait-on-shutdown</param-name>
20
		<param-value>false</param-value>
20
		<param-value>false</param-value>
21
	</context-param>
21
	</context-param>
22
	<context-param>
22
	<context-param>
23
		<param-name>quartz:start-scheduler-on-load</param-name>
23
		<param-name>quartz:start-scheduler-on-load</param-name>
24
		<param-value>true</param-value>
24
		<param-value>true</param-value>
25
	</context-param>
25
	</context-param>
26
	<context-param>
26
	<context-param>
27
		<param-name>cache:thread-count</param-name>
27
		<param-name>cache:thread-count</param-name>
28
		<param-value>3</param-value>
28
		<param-value>3</param-value>
29
	</context-param>
29
	</context-param>
30
 
-
 
31
	<!--
-
 
32
	<context-param>
-
 
33
		<param-name>cvs-config-02</param-name>
30
 
34
		<param-value>c:/temp/test2.txt</param-value>
-
 
35
	</context-param>
-
 
36
	
-
 
37
	<context-param>
-
 
38
		<param-name>cvs-config-01</param-name>
31
	<!-- <context-param> <param-name>cvs-config-02</param-name> <param-value>c:/temp/test2.txt</param-value> 
39
		<param-value>c:/temp/test.txt</param-value>
-
 
40
	</context-param>
-
 
41
	
-
 
42
	<context-param>
-
 
43
		<param-name>cvs-config-03</param-name>
32
		</context-param> <context-param> <param-name>cvs-config-01</param-name> <param-value>c:/temp/test.txt</param-value> 
44
		<param-value>c:/temp/test3.txt</param-value>
33
		</context-param> <context-param> <param-name>cvs-config-03</param-name> <param-value>c:/temp/test3.txt</param-value> 
45
	</context-param>
-
 
46
	-->
34
		</context-param> -->
47
	
35
 
48
	<!--  Caching interval in minutes for CVS cache -->
36
	<!-- Caching interval in minutes for CVS cache -->
49
	<context-param>
37
	<context-param>
50
		<param-name>cvs-cache-interval</param-name>
38
		<param-name>cvs-cache-interval</param-name>
51
		<param-value>3</param-value>
39
		<param-value>3</param-value>
52
	</context-param>
40
	</context-param>
53
	
41
 
54
	<!--  CVS content search cache -->
42
	<!-- CVS content search cache -->
55
	<!--  
-
 
56
	<context-param>
-
 
57
		<param-name>cvs-findings-configuration</param-name>
43
	<!-- <context-param> <param-name>cvs-findings-configuration</param-name> 
58
		<param-value>c:/temp/cvs-findings.txt</param-value>
44
		<param-value>c:/temp/cvs-findings.txt</param-value> </context-param> -->
59
	</context-param>
-
 
60
	-->
-
 
61
 
45
 
62
	<listener>
46
	<listener>
63
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
47
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
64
	</listener>
48
	</listener>
65
	<listener>
49
	<listener>
66
		<listener-class>org.quartz.ee.servlet.QuartzInitializerListener</listener-class>
50
		<listener-class>org.quartz.ee.servlet.QuartzInitializerListener</listener-class>
67
	</listener>
51
	</listener>
68
	<listener>
52
	<listener>
69
		<listener-class>net.brutex.xservices.util.cache.CacheExecutorService</listener-class>
53
		<listener-class>net.brutex.xservices.util.cache.CacheExecutorService</listener-class>
70
	</listener>
54
	</listener>
71
 
55
 
72
 
56
 
73
	<servlet>
57
	<servlet>
74
		<servlet-name>XServices</servlet-name>
58
		<servlet-name>XServices</servlet-name>
75
		<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
59
		<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
76
		<load-on-startup>1</load-on-startup>
60
		<load-on-startup>1</load-on-startup>
77
	</servlet>
61
	</servlet>
78
	<servlet>
62
	<servlet>
79
		<servlet-name>QuartzInitializer</servlet-name>
63
		<servlet-name>QuartzInitializer</servlet-name>
80
		<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
64
		<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
81
		<init-param>
65
		<init-param>
82
			<param-name>shutdown-on-unload</param-name>
66
			<param-name>shutdown-on-unload</param-name>
83
			<param-value>true</param-value>
67
			<param-value>true</param-value>
84
		</init-param>
68
		</init-param>
85
		<load-on-startup>2</load-on-startup>
69
		<load-on-startup>2</load-on-startup>
86
	</servlet>
70
	</servlet>
87
	<servlet>
71
	<servlet>
88
		<servlet-name>CacheServlet</servlet-name>
72
		<servlet-name>CacheServlet</servlet-name>
89
		<servlet-class>net.brutex.xservices.util.cache.CacheServlet</servlet-class>
73
		<servlet-class>net.brutex.xservices.util.cache.CacheServlet</servlet-class>
90
		<load-on-startup>3</load-on-startup>
74
		<load-on-startup>3</load-on-startup>
91
	</servlet>
75
	</servlet>
92
	<servlet>
76
	<servlet>
93
		<servlet-name>FindingsCacheServlet</servlet-name>
77
		<servlet-name>FindingsCacheServlet</servlet-name>
94
		<servlet-class>net.brutex.xservices.util.cache.FindingsCacheServlet</servlet-class>
78
		<servlet-class>net.brutex.xservices.util.cache.FindingsCacheServlet</servlet-class>
95
		<load-on-startup>3</load-on-startup>
79
		<load-on-startup>3</load-on-startup>
96
	</servlet>
80
	</servlet>
97
 
81
 
98
	<servlet-mapping>
82
	<servlet-mapping>
99
		<servlet-name>XServices</servlet-name>
83
		<servlet-name>XServices</servlet-name>
100
		<url-pattern>/*</url-pattern>
84
		<url-pattern>/*</url-pattern>
101
	</servlet-mapping>
85
	</servlet-mapping>
102
	<session-config>
86
	<session-config>
103
		<session-timeout>30</session-timeout>
87
		<session-timeout>30</session-timeout>
104
	</session-config>
88
	</session-config>
105
	<welcome-file-list>
89
	<welcome-file-list>
106
		<welcome-file>index.html</welcome-file>
90
		<welcome-file>index.html</welcome-file>
107
	</welcome-file-list>
91
	</welcome-file-list>
-
 
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 -->
108
</web-app>
121
</web-app>
109
 
122
 
110
Generated by GNU Enscript 1.6.5.90.
123
Generated by GNU Enscript 1.6.5.90.
111
 
124
 
112
 
125