Subversion Repositories XServices

Rev

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">
185 brianR 6
 
7
 
94 brianR 8
	<context-param>
185 brianR 9
        <param-name>log4jConfiguration</param-name>
10
        <param-value>/WEB-INF/log4j2.xml</param-value>
11
    </context-param>
12
    <context-param>
13
    	<param-name>shiroConfigLocations</param-name>
14
    	<param-value>/WEB-INF/shiro.ini</param-value>
94 brianR 15
	</context-param>
16
	<context-param>
17
		<param-name>quartz:config-file</param-name>
18
		<param-value>quartz.properties</param-value>
19
	</context-param>
20
	<context-param>
21
		<param-name>quartz:shutdown-on-unload</param-name>
22
		<param-value>true</param-value>
23
	</context-param>
24
	<context-param>
25
		<param-name>quartz:wait-on-shutdown</param-name>
26
		<param-value>false</param-value>
27
	</context-param>
28
	<context-param>
29
		<param-name>quartz:start-scheduler-on-load</param-name>
30
		<param-value>true</param-value>
31
	</context-param>
32
	<context-param>
33
		<param-name>cache:thread-count</param-name>
34
		<param-value>3</param-value>
35
	</context-param>
101 brianR 36
 
146 brianR 37
	<!-- <context-param> <param-name>cvs-config-02</param-name> <param-value>c:/temp/test2.txt</param-value>
38
		</context-param> <context-param> <param-name>cvs-config-01</param-name> <param-value>c:/temp/test.txt</param-value>
39
		</context-param> <context-param> <param-name>cvs-config-03</param-name> <param-value>c:/temp/test3.txt</param-value>
40
		</context-param> -->
41
 
42
	<!-- Caching interval in minutes for CVS cache -->
94 brianR 43
	<context-param>
44
		<param-name>cvs-cache-interval</param-name>
101 brianR 45
		<param-value>3</param-value>
94 brianR 46
	</context-param>
47
 
146 brianR 48
	<!-- CVS content search cache -->
49
	<!-- <context-param> <param-name>cvs-findings-configuration</param-name>
50
		<param-value>c:/temp/cvs-findings.txt</param-value> </context-param> -->
51
 
94 brianR 52
	<listener>
185 brianR 53
    	<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
54
  	</listener>
94 brianR 55
	<listener>
56
		<listener-class>org.quartz.ee.servlet.QuartzInitializerListener</listener-class>
57
	</listener>
58
	<listener>
59
		<listener-class>net.brutex.xservices.util.cache.CacheExecutorService</listener-class>
60
	</listener>
61
 
62
 
63
	<servlet>
64
		<servlet-name>XServices</servlet-name>
65
		<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
185 brianR 66
		<!-- <init-param>
67
			<param-name>config-location</param-name>
68
			<param-value>/WEB-INF/cxf-servlet.xml</param-value>
69
		</init-param>
70
		-->
71
		<init-param>
72
        	<param-name>hide-service-list-page</param-name>
73
        	<param-value>false</param-value>
74
    </init-param>
94 brianR 75
		<load-on-startup>1</load-on-startup>
76
	</servlet>
185 brianR 77
 
94 brianR 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>
185 brianR 102
 
94 brianR 103
	<session-config>
104
		<session-timeout>30</session-timeout>
105
	</session-config>
106
	<welcome-file-list>
107
		<welcome-file>index.html</welcome-file>
108
	</welcome-file-list>
146 brianR 109
 
110
	<!-- Shiro -->
111
	<listener>
112
		<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
113
	</listener>
114
 
115
	<filter>
116
		<filter-name>ShiroFilter</filter-name>
117
		<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
118
	</filter>
119
 
120
	<filter-mapping>
121
		<filter-name>ShiroFilter</filter-name>
122
		<url-pattern>/*</url-pattern>
123
		<dispatcher>REQUEST</dispatcher>
124
		<dispatcher>FORWARD</dispatcher>
125
		<dispatcher>INCLUDE</dispatcher>
126
		<dispatcher>ERROR</dispatcher>
127
	</filter-mapping>
128
	<!-- Shiro -->
55 brianR 129
</web-app>