Subversion Repositories XServices

Rev

Rev 70 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
55 brianR 1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
3
  <context-param>
4
    <param-name>contextConfigLocation</param-name>
70 brianR 5
    <param-value>/WEB-INF/cxf-beans.xml</param-value>
55 brianR 6
  </context-param>
75 brianR 7
  <context-param>
8
    <param-name>quartz:config-file</param-name>
9
    <param-value>quartz.properties</param-value>
10
  </context-param>
11
  <context-param>
12
    <param-name>quartz:shutdown-on-unload</param-name>
13
    <param-value>true</param-value>
14
  </context-param>
15
  <context-param>
16
    <param-name>quartz:wait-on-shutdown</param-name>
17
    <param-value>false</param-value>
18
  </context-param>
19
  <context-param>
20
    <param-name>quartz:start-scheduler-on-load</param-name>
21
    <param-value>true</param-value>
22
  </context-param>
55 brianR 23
  <listener>
24
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
25
  </listener>
70 brianR 26
  <listener>
75 brianR 27
    <listener-class>
70 brianR 28
             org.quartz.ee.servlet.QuartzInitializerListener
29
         </listener-class>
75 brianR 30
  </listener>
55 brianR 31
  <servlet>
32
    <servlet-name>XServices</servlet-name>
33
    <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
34
    <load-on-startup>1</load-on-startup>
35
  </servlet>
75 brianR 36
  <servlet>
37
    <servlet-name>QuartzInitializer</servlet-name>
38
    <servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
39
    <init-param>
40
      <param-name>shutdown-on-unload</param-name>
41
      <param-value>true</param-value>
42
    </init-param>
43
    <load-on-startup>2</load-on-startup>
44
  </servlet>
55 brianR 45
  <servlet-mapping>
46
    <servlet-name>XServices</servlet-name>
47
    <url-pattern>/*</url-pattern>
48
  </servlet-mapping>
49
  <session-config>
50
    <session-timeout>30</session-timeout>
51
  </session-config>
52
  <welcome-file-list>
53
    <welcome-file>index.html</welcome-file>
54
  </welcome-file-list>
75 brianR 55
  <servlet>
56
    <description></description>
57
    <display-name>AgentServlet</display-name>
58
    <servlet-name>AgentServlet</servlet-name>
59
    <servlet-class>net.brutex.xservices.agent.AgentServlet</servlet-class>
60
    <init-param>
61
      <description>Port to listen on</description>
62
      <param-name>port</param-name>
63
      <param-value>1313</param-value>
64
    </init-param>
65
  </servlet>
66
  <servlet-mapping>
67
    <servlet-name>AgentServlet</servlet-name>
68
    <url-pattern>/AgentServlet</url-pattern>
69
  </servlet-mapping>
55 brianR 70
</web-app>