Subversion Repositories XServices

Rev

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

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