+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
- version="2.5">
-
- <display-name>SLC Web Application</display-name>
-
- <!-- SERVICE servlet -->
- <servlet>
- <servlet-name>slc-service</servlet-name>
- <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
- <init-param>
- <param-name>contextClass</param-name>
- <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
- </init-param>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>slc-service</servlet-name>
- <url-pattern>*.service</url-pattern>
- </servlet-mapping>
-
- <!-- WS servlet -->
- <servlet>
- <servlet-name>slc-ws</servlet-name>
- <servlet-class>
- org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
- <init-param>
- <param-name>contextClass</param-name>
- <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
- </init-param>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>slc-ws</servlet-name>
- <url-pattern>/slcService/*</url-pattern>
- </servlet-mapping>
-
- <!-- XSLT servlet -->
- <servlet>
- <servlet-name>xslt</servlet-name>
- <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
- <init-param>
- <param-name>contextClass</param-name>
- <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
- </init-param>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>xslt</servlet-name>
- <url-pattern>*.xslt</url-pattern>
- </servlet-mapping>
-
- <!-- DOC servlet -->
- <servlet>
- <servlet-name>doc</servlet-name>
- <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
- <init-param>
- <param-name>contextClass</param-name>
- <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
- </init-param>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>doc</servlet-name>
- <url-pattern>*.xls</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>doc</servlet-name>
- <url-pattern>*.pdf</url-pattern>
- </servlet-mapping>
-
- <!-- General -->
- <context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>/WEB-INF/applicationContext.xml</param-value>
- </context-param>
-
- <listener>
- <display-name>Spring Context</display-name>
- <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
- </listener>
- <context-param>
- <param-name>contextClass</param-name>
- <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
- </context-param>
-
- <!-- Env refs -->
- <resource-env-ref>
- <resource-env-ref-name>jdbc/mainDs</resource-env-ref-name>
- <resource-env-ref-type>javax.sql.DataSource</resource-env-ref-type>
- </resource-env-ref>
-
- <!-- Log4j configContext loader config -->
- <listener>
- <display-name>Log4j</display-name>
- <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
- </listener>
- <context-param>
- <param-name>log4jConfigLocation</param-name>
- <param-value>/WEB-INF/classes/log4j.properties</param-value>
- </context-param>
- <context-param>
- <param-name>log4jRefreshInterval</param-name>
- <param-value>5000</param-value>
- </context-param>
-
-
- <!-- Active MQ -->
- <!-- context config -->
- <context-param>
- <param-name>org.apache.activemq.brokerURL</param-name>
- <param-value>vm://localhost</param-value>
- </context-param>
-
- <context-param>
- <param-name>org.apache.activemq.embeddedBroker</param-name>
- <param-value>false</param-value>
- </context-param>
-
- <!-- servlet mappings -->
- <servlet>
- <servlet-name>MessageListenerServlet</servlet-name>
- <servlet-class>org.apache.activemq.web.MessageListenerServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>MessageListenerServlet</servlet-name>
- <url-pattern>/amq/*</url-pattern>
- </servlet-mapping>
-
- <filter>
- <filter-name>session</filter-name>
- <filter-class>org.apache.activemq.web.SessionFilter</filter-class>
- </filter>
-
- <filter-mapping>
- <filter-name>session</filter-name>
- <url-pattern>/amq/*</url-pattern>
- </filter-mapping>
-</web-app>