2011-04-20 18:59:54 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-08-26 16:41:46 +02:00
|
|
|
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
|
|
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
|
|
|
version="2.5">
|
2018-05-03 07:24:04 +02:00
|
|
|
|
|
|
|
|
2012-08-26 16:41:46 +02:00
|
|
|
<context-param>
|
2018-05-03 07:24:04 +02:00
|
|
|
<param-name>log4jConfiguration</param-name>
|
|
|
|
<param-value>/WEB-INF/log4j2.xml</param-value>
|
|
|
|
</context-param>
|
|
|
|
<context-param>
|
|
|
|
<param-name>shiroConfigLocations</param-name>
|
|
|
|
<param-value>/WEB-INF/shiro.ini</param-value>
|
2012-08-26 16:41:46 +02:00
|
|
|
</context-param>
|
|
|
|
<context-param>
|
|
|
|
<param-name>quartz:config-file</param-name>
|
|
|
|
<param-value>quartz.properties</param-value>
|
|
|
|
</context-param>
|
|
|
|
<context-param>
|
|
|
|
<param-name>quartz:shutdown-on-unload</param-name>
|
|
|
|
<param-value>true</param-value>
|
|
|
|
</context-param>
|
|
|
|
<context-param>
|
|
|
|
<param-name>quartz:wait-on-shutdown</param-name>
|
|
|
|
<param-value>false</param-value>
|
|
|
|
</context-param>
|
|
|
|
<context-param>
|
|
|
|
<param-name>quartz:start-scheduler-on-load</param-name>
|
|
|
|
<param-value>true</param-value>
|
|
|
|
</context-param>
|
|
|
|
<context-param>
|
|
|
|
<param-name>cache:thread-count</param-name>
|
|
|
|
<param-value>3</param-value>
|
|
|
|
</context-param>
|
2013-02-05 15:02:07 +01:00
|
|
|
|
2013-12-20 08:45:47 +01:00
|
|
|
<!-- <context-param> <param-name>cvs-config-02</param-name> <param-value>c:/temp/test2.txt</param-value>
|
|
|
|
</context-param> <context-param> <param-name>cvs-config-01</param-name> <param-value>c:/temp/test.txt</param-value>
|
|
|
|
</context-param> <context-param> <param-name>cvs-config-03</param-name> <param-value>c:/temp/test3.txt</param-value>
|
|
|
|
</context-param> -->
|
|
|
|
|
|
|
|
<!-- Caching interval in minutes for CVS cache -->
|
2012-08-26 16:41:46 +02:00
|
|
|
<context-param>
|
|
|
|
<param-name>cvs-cache-interval</param-name>
|
2013-02-05 15:02:07 +01:00
|
|
|
<param-value>3</param-value>
|
2012-08-26 16:41:46 +02:00
|
|
|
</context-param>
|
2013-12-20 08:45:47 +01:00
|
|
|
|
|
|
|
<!-- CVS content search cache -->
|
|
|
|
<!-- <context-param> <param-name>cvs-findings-configuration</param-name>
|
|
|
|
<param-value>c:/temp/cvs-findings.txt</param-value> </context-param> -->
|
2012-08-26 16:41:46 +02:00
|
|
|
|
|
|
|
<listener>
|
2018-05-03 07:24:04 +02:00
|
|
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
|
|
</listener>
|
2012-08-26 16:41:46 +02:00
|
|
|
<listener>
|
|
|
|
<listener-class>org.quartz.ee.servlet.QuartzInitializerListener</listener-class>
|
|
|
|
</listener>
|
|
|
|
<listener>
|
|
|
|
<listener-class>net.brutex.xservices.util.cache.CacheExecutorService</listener-class>
|
|
|
|
</listener>
|
|
|
|
|
|
|
|
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>XServices</servlet-name>
|
|
|
|
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
|
2018-05-03 07:24:04 +02:00
|
|
|
<!-- <init-param>
|
|
|
|
<param-name>config-location</param-name>
|
|
|
|
<param-value>/WEB-INF/cxf-servlet.xml</param-value>
|
|
|
|
</init-param>
|
|
|
|
-->
|
|
|
|
<init-param>
|
|
|
|
<param-name>hide-service-list-page</param-name>
|
|
|
|
<param-value>false</param-value>
|
|
|
|
</init-param>
|
2012-08-26 16:41:46 +02:00
|
|
|
<load-on-startup>1</load-on-startup>
|
|
|
|
</servlet>
|
2018-05-03 07:24:04 +02:00
|
|
|
|
2012-08-26 16:41:46 +02:00
|
|
|
<servlet>
|
|
|
|
<servlet-name>QuartzInitializer</servlet-name>
|
|
|
|
<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>shutdown-on-unload</param-name>
|
|
|
|
<param-value>true</param-value>
|
|
|
|
</init-param>
|
|
|
|
<load-on-startup>2</load-on-startup>
|
|
|
|
</servlet>
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>CacheServlet</servlet-name>
|
|
|
|
<servlet-class>net.brutex.xservices.util.cache.CacheServlet</servlet-class>
|
|
|
|
<load-on-startup>3</load-on-startup>
|
|
|
|
</servlet>
|
2013-02-05 15:02:07 +01:00
|
|
|
<servlet>
|
|
|
|
<servlet-name>FindingsCacheServlet</servlet-name>
|
|
|
|
<servlet-class>net.brutex.xservices.util.cache.FindingsCacheServlet</servlet-class>
|
|
|
|
<load-on-startup>3</load-on-startup>
|
|
|
|
</servlet>
|
2012-08-26 16:41:46 +02:00
|
|
|
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>XServices</servlet-name>
|
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
|
</servlet-mapping>
|
2018-05-03 07:24:04 +02:00
|
|
|
|
2012-08-26 16:41:46 +02:00
|
|
|
<session-config>
|
|
|
|
<session-timeout>30</session-timeout>
|
|
|
|
</session-config>
|
|
|
|
<welcome-file-list>
|
|
|
|
<welcome-file>index.html</welcome-file>
|
|
|
|
</welcome-file-list>
|
2013-12-20 08:45:47 +01:00
|
|
|
|
|
|
|
<!-- Shiro -->
|
|
|
|
<listener>
|
|
|
|
<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
|
|
|
|
</listener>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<filter-name>ShiroFilter</filter-name>
|
|
|
|
<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter-mapping>
|
|
|
|
<filter-name>ShiroFilter</filter-name>
|
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
|
<dispatcher>REQUEST</dispatcher>
|
|
|
|
<dispatcher>FORWARD</dispatcher>
|
|
|
|
<dispatcher>INCLUDE</dispatcher>
|
|
|
|
<dispatcher>ERROR</dispatcher>
|
|
|
|
</filter-mapping>
|
|
|
|
<!-- Shiro -->
|
2011-04-20 18:59:54 +02:00
|
|
|
</web-app>
|